aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
AgeCommit message (Collapse)Author
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-09cairo: Fix CVE-2017-7475Fan Xin
CVE: CVE-2017-7475 Bug 100763 - Denial-of-Service Attack due to Logical Problem in Program https://bugs.freedesktop.org/show_bug.cgi?id=100763 Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-06kmscube: add opengl to REQUIRED_DISTRO_FEATURESJackie Huang
kmscube depends on virtual/libgles2, virtual/egl (provided by mesa) and gstreamer1.0 which require opengl in DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-06piglit: fix building issues regarding gbm_bo_map and a MESA testDaniel Díaz
These patches fix a few building problems but are not being taken into consideration at the moment, even though they have been reviewed upstream with most of them merged (and accepted already in OE-core master): 1.- CMake: define GBM_BO_MAP only when symbol is found 2.- util/egl: Honour Surfaceless MESA in get_default_display 3.- egl_mesa_platform_surfaceless: Don't use eglGetPlatformDisplay directly 4.- egl_mesa_platform_surfaceless: Use EXT functions for surfaces Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-03xkeyboard-config: Upgrade 2.20 -> 2.21Jussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-03xkbcomp: Upgrade 1.3.1 -> 1.4.0Jussi Kukkonen
Release with a small amount of bug fixes. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-03xserver-xorg: Upgrade 1.19.1 -> 1.19.3Jussi Kukkonen
Bug fix releases. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-03xf86-input-libinput: Upgrade 0.24.0 -> 0.25.1Jussi Kukkonen
Small releases with just a few fixes. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-03clutter-gst-3.0: Upgrade 3.0.22 -> 3.0.24Jussi Kukkonen
Very small release with only bug fixes. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-06-03clutter-1.0: Upgrade 1.26.0 -> 1.26.2Jussi Kukkonen
Mostly bug fixes in this release. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.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-06-03libepoxy: Upgrade 1.4.1 -> 1.4.2Jussi Kukkonen
Mostly a bug fix release Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-30pango: 1.40.3 -> 1.40.6Huang Qiyu
Upgrade pango from 1.40.3 to 1.40.6. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-05-30piglit: add patches for unbuildable surfaceless Mesa testDaniel Díaz
Some EGL implementations do not actually ship all Khronos- extensions. As it turns out, the Mali 450 driver does not include any of the following symbols, used by the egl_mesa_platform_surfaceless.c spec test: * eglGetPlatformDisplay * eglCreatePlatformPixmapSurface * eglCreatePlatformWindowSurface The Right Thing To Do was to obtain the implementation of these functions (via eglGetProcAddress), as is provided by their EXT counterparts. These are guaranteed to exist since they are required by EGL_EXT_platform_base. Upstream-Status: Submitted [piglit@lists.freedesktop.org] Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-05-30piglit: add patch for lack of gbm_bo_mapDaniel Díaz
[Piglit Bug #100978] -- https://bugs.freedesktop.org/show_bug.cgi?id=100978 When linking against Mali 450 r6, errors like the following can be seen: ../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_unmap' ../../../../lib/libpiglitutil_gl.so.0: undefined reference to `gbm_bo_map' collect2: error: ld returned 1 exit status make[2]: *** [bin/point-sprite] Error 1 This is due to gbm_bo_map() and gbm_bo_unmap() being recently added but not yet implemented by all graphics drivers. Instead of relying on GBM's version, actually try to link against those symbols. Upstream-Status: Submitted [piglit@lists.freedesktop.org] Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-05-30piglit: depend on virtual/eglDaniel Díaz
While building for Hikey using Mali 450 driver (r6p0), an error like the following appears while linking: [ 1%] Linking C shared library ../../../../lib/libpiglitutil.so [...] [...]/aarch64-linaro-linux/gcc/aarch64-linaro-linux/6.3.1/ld: cannot find -lEGL collect2: error: ld returned 1 exit status make[2]: *** [lib/libpiglitutil.so.0] Error 1 Mesa generally provides virtual/egl (along with virtual/libgl, which satisfies Piglit's current DEPENDS) but that is not the implementation to use with Mali. Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-05-30libdrm: upgrade to 2.4.81Nicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-05-30kmscube: upgrade versionNicolas Dechesne
Upgrade to a more recent kmscube commit from git. Tested on DB410c and DB820c with s/w and h/w codecs (v4l2). Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-05-29freetype: 2.7.1 -> 2.8Andrej Valek
Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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-25xkeyboard-config: Drop explicit dep on virtual/gettextKhem Raj
let gettext.bbclass provide the defaults they are good for it. What it needs it a dep on gettext-native for intltool-native which now intltool-native expresses correctly Helps compile when distros disable NLS Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-25kmscube: add recipeCarlos Rafael Giani
This is a demo application that draws a three-dimensional spinning cube using EGL on top of KMS, via Mesa's GBM library. A rough counterpart to glxgears, it is a useful tool for BSP makers to try the 3D rendering functionality based on EGL and OpenGL ES in a KMS environment, without having to set up Wayland or X11. It is also interesting for Yocto-based projects that do not need any windowing environment and instead render their visual output fullscreen to KMS directly, since they can use it as a reference. Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-25libx11-diet: 1.6.4 -> 1.6.5zhengrq
Upgrade libx11-diet from 1.6.4 to 1.6.5 Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-25libx11: 1.6.4 -> 1.6.5zhengrq
Upgrade libx11 from 1.6.4 to 1.6.5 Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-23glew: Compile with -D_GNU_SOURCEKhem Raj
Required with glibc 2.26 when x11 is not in distro features it errors out due to mising CLOCK_REALTIME error: 'CLOCK_REALTIME' undeclared (first use in this function); did you mean '_XOPEN_REALTIME'? if (clock_gettime(CLOCK_REALTIME, &ts) == -1) ^~~~~~~~~~~~~~ _XOPEN_REALTIME Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-23vulkan: fix upstream version checkAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-18libpciaccess: 0.13.4 -> 0.13.5Huang Qiyu
1) Upgrade libpciaccess from 0.13.4 to 0.13.5. 3) Delete three patches, since they are integrated upstream. 0001-Include-config.h-before-anything-else-in-.c.patch 0002-Fix-quoting-issue.patch 0003-linux_sysfs.c-Include-limits.h-for-PATH_MAX.patch Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-18harfbuzz: upgrade to 1.4.6Maxin B. John
Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-16liberation-fonts: update to 2.00.1Alexander Kanavin
'fontforge issue' was actually a non-issue; fontforge is required only when building ttf fonts from sfd source. We took prebuilt ttf fonts when using 1.04 version, and can do the same thing with 2.00.1 version, it's just that the tarball name for prebuilt fonts has slightly changed and no one noticed somehow. License has changed from GPLv2 to Open Font License v.1.1 Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-16libpthread-stubs: upgrade to 0.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.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-05-12libepoxy: 1.4.0 -> 1.4.1Huang Qiyu
Upgrade libepoxy from 1.4.0 to 1.4.1. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-05-12libdrm: 2.4.75 -> 2.4.80Huang Qiyu
Upgrade libdrm from 2.4.75 to 2.4.80. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-20libsdl2: fix build failures on powerpcKai Kang
Backport patch from upstream to fix build failures on ppc and ppc64. Signed-off-by: Kai Kang <kai.kang@windriver.com> 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-04-05libjpeg-turbo: don't depend on NASM for non-x86 targetsRoss Burton
NASM is a x86-specific assembler so it is only required when building for x86 targets. Use x86-architecture and class-target overrides to depend on NASM, but explicitly disable and don't depend on it for native as complications in the native overrides meant NASM was enabled for x86-64 but disabled for x86 (this will be investigated later). Original patch by Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>, more work to solve selftest failures by Richard Purdie <richard.purdie@linuxfoundation.org>. I just wrote a nice commit message. Also fix some missing whitespace in _appends. [ YOCTO #11240 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-04-05liberation-fonts: replace fedorahosted.org SRC_URI with pagure.io sourceChoong YinThong
fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to pagure.io. pagure.io is a replacement for fedorahosted. [YOCTO #11226] Signed-off-by: Choong YinThong <yin.thong.choong@intel.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-25xserver-nodm-init: option to remove cursorTrevor Woerner
Add a PACKAGECONFIG option to allow the user to disable the mouse cursor/pointer in the X server. This might be useful where a touchscreen is used. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17xserver-xf86-config: Remove X server module preloadKhem Raj
This was a solution needed for musl but now musl has got lazy loading. Signed-off-by: Khem Raj <raj.khem@gmail.com> 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-16xf86-input-mouse: Remove unused patchJussi Kukkonen
The patch has not been used since the ancient git version was removed. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-10vulkan: Add recipe for Vulkan common loaderJussi Kukkonen
Add a recipe for vulkan loader library and the vulkaninfo binary. Vulkan can be built to support X11 or wayland or both. There is currently no support for building tests, validation layers or even the demos as that would require a bunch of otherwise unnecessary dependencies. Fix the build on musl by defaulting to getenv() if secure_getenv() is not available. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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>