aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/mesa
AgeCommit message (Collapse)Author
2016-07-05mesa-demos: Rebase patches due to OE-Core changesTom Hochstein
Update patch Add-OpenVG-demos-to-support-wayland.patch due to changes applied in OE-Core:b851cb0a. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-30mesa-demos: Fix incorrent spelling of Upstream-Status tag.Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-15mesa-gl: Blacklist the recipe for i.MX6 SoCs with GPUOtavio Salvador
The mesa-gl is not in sure for the i.MX6 SoC from Quad, DualLite, SoloX and SoloLite families. The full featured, but trimmed, mesa is used instead. This fixes following warning: ,---- | NOTE: multiple providers are available for runtime libgl-mesa-dev (mesa, mesa-gl) | NOTE: consider defining a PREFERRED_PROVIDER entry to match libgl-mesa-dev | NOTE: multiple providers are available for runtime mesa-driver-swrast (mesa, mesa-gl) | NOTE: consider defining a PREFERRED_PROVIDER entry to match mesa-driver-swrast `---- Change-Id: I082b8f7a739e4ea3cfe5f1760c7163d118e9883c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-14Rework i.MX6 UltraLite support to not use other i.MX6 codeOtavio Salvador
The i.MX6 UltraLite is very different from the other i.MX6 SoCs and the current BSP infrastructure needs to be reworked to allow for more granullar control of the features each SoC provide to control the changes to be applied for the SoC peripherals support. For now, it is not possible to express this clearly in the BSP so the current change is to revert some of the changes done for the i.MX6 UltraLite to be enabled and make sure that the boards using the SoC does not inherit the 'mx6' override. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-27mesa-demos: Add Wayland and OpenVG supportLauren Post
Add patches to support both OpenVG and Wayland support. Add configuration to enable in PACKAGECONFIG. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-06Drop Freescale official Linux kernel for i.MX23, i.MX28 and i.MX5 SoC familiesOtavio Salvador
The Linux kernel provided by Freescale for i.MX28 and i.MX5 is too old (2.6.35.3) and there are no plans to upgrade it, as the OE-Core is going to use GCC 5.2 as default compiler soon and it is not possible to compile this kernel with the new toolchain, thus the removal. The metadata related to the i.MX23, i.MX28 and i.MX5 SoC family, which is dependant of this Linux kernel support, has been removed in this commit so if someone ever wants to bring it back it is easy to find out all the necessary changes. The recipes affected are: - alsa-state - amd-gpu-x11-bin - gtk+3 - imx-lib - imx-test - imx-vpu - libfslcodec - linux-imx - mesa - qt4-embedded-free - qt4-x11-free - qtbase - xf86-video-imxfb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
2015-08-05mesa: Remove virtual/libopenvg from providers listOtavio Salvador
The mesa now provide virtual/libopenvg which should be offered by the AMD and Vivante GPU drivers. Remove it from the providers list. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-31mesa-demos: Support for mx6 without GPUsOtavio Salvador
Fix to support future mx6 i.MX 6UltraLite which does not have a GPU. This SoC will use mesa so mesa changes before should be more SoC specific to allow future mx6 SoC without GPU to use mesa. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28mesa: Fix override of x11 GLX support for i.MX6Otavio Salvador
The replacement of --enable-glx-tls for --enable-glx was not working due the way the variables are expanded. To fix the issue an annonymous function has been added to mangle it just before its use. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28mesa: Avoid Vivante GPU headers conflict for gl.h and glext.hOtavio Salvador
The new GPU release include new GL headers which conflict with the ones provided by mesa. The build fails with: ,---- | ERROR: The recipe imx-gpu-viv is trying to install files into a shared | area when those files already exist. Those files and their manifest | location are: | | .../build-framebuffer/tmp/sysroots/imx6qsabresd/usr/include/GL/gl.h | Matched in manifest-imx6qsabresd-mesa.populate_sysroot | | .../build-framebuffer/tmp/sysroots/imx6qsabresd/usr/include/GL/glext.h | Matched in manifest-imx6qsabresd-mesa.populate_sysroot `---- This removes of the mesa's headers so the ones provided by Vivante are used instead. Fixes [Yocto: #5098]. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-27mesa-demos: Fix so patches only install for SoC with GPULauren Post
Only install patches for SoC with a GPU. Future i.MX 6UltraLite does not have a GPU. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-27mesa: Support for mx6 without GPUsLauren Post
Fix to support future mx6 i.MX 6UltraLite which does not have a GPU. This SoC will use mesa so mesa changes before should be more SoC specific to allow future mx6 SoC without GPU to use mesa. Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-10mesa-demos: Include patch to add extension headerNeena Busireddy
This is the fix for the new OpenGL ES 1.1 header from khronos.org. The change moved some definitions to extension header. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-10mesa: Update recipeNeena Busireddy
Vivante GPU driver does not support libGLX TLS (Thread local storage) and Vivante libGLX depends on mesa. Hence, mesa also needs to be build without TLS. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-10mesa: Add i.MX6 SoloX supportNeena Busireddy
This includes the changes to enable mesa usage with the mx6sx SoC. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-20mesa: Update mesa and mesa-demos to support Sololite.Neena Busireddy
SoloLite should use mesa software rendering GL since GPU for this machine does not have hardware accelerated GL. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-04-22Use generic bbappend filesOtavio Salvador
This uses the % wildcard for recipe matching, this easy the update of recipe versions and maintenance. - formfactor_0.0.bbappend - udev-extraconf_1.0.bbappend - eglinfo-fb_1.0.bbappend - eglinfo-x11_1.0.bbappend - mesa-demos_8.1.0.bbappend - pointercal-xinput_0.0.bbappend - xserver-xf86-config_0.1.bbappend - gst-plugins-base_0.10.36.bbappend - gst-plugins-gl_0.10.3.bbappend - qt4-embedded_4.8.5.bbappend - qt4-x11-free_4.8.5.bbappend Change-Id: Ia901561f327fde3109237994a2a5a76827f11913 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-24mesa: Update to follow OE-Core changesOtavio Salvador
This updates the bbappend to the newer version; as mesa now provides the needed PACKAGECONFIG settings we rely on this instead of using an annonymous Python code to change it during build time. The bbappend file now is much easier to read. Change-Id: Ie7b6027462f458d139d0561e737b254dd8b07653 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Gary Thomas <gary@mlbassoc.com> Tested-by: John Weber <rjohnweber@gmail.com>
2013-11-01mesa: Follow OE-Core update to 9.2.2 releaseOtavio Salvador
Change-Id: Id093c95fb3d5d6259b3b7873bc7b8aed2da7b1fd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-25mesa: Remove redundant PACKAGE_ARCH settingOtavio Salvador
The PACKAGE_ARCH is now dynamically set for package which depends on GPU libraries. Change-Id: I5d2b23fb31f17becc10a7c5955aee9ff4d940a17 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-25mesa-demos: Remove redundant PACKAGE_ARCH settingOtavio Salvador
The PACKAGE_ARCH is now dynamically set for package which depends on GPU libraries. Change-Id: I172c119d66774df90dcd2a8a649bc2d8191e701f Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-06mesa: Follow OE-Core update for 9.1.6 versionOtavio Salvador
Change-Id: I6428d3464bc2f86191545b872015015d8cabf68e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-26mesa: Don't fail if libGL is not buildOtavio Salvador
When doing a x11-less system, build fails as mesa won't build libGL. Avoid this making 'rm' use '-f' option. Change-Id: Ia018d1c9a39e6ec6b4008b76659b1e6aa829d6c2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-24mesa: Follow OE-Core update to 9.1.5Otavio Salvador
Change-Id: I875f74af849e0647a15a5b4ec4ad815848ef3a0a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-20mesa-demos: set PACKAGE_ARCH when building for i.MX6 SoCsOtavio Salvador
There are differences in the provided API by Vivante, which has been fixed by a patch being applied for all i.MX6 SoCs, however the package hadn't been set machine specific when it has been done. Fix it. Change-Id: I886d1e3281fe978a19764bf82367dd7e9e24b4a8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-20mesa: Avoid removing virtual/libgl provider for i.MX5 SoCsOtavio Salvador
The AMD GPU libraries does not provide a libGL so we need to rely on mesa one. This fixes a regression introduced by ea8d003 (gpu-viv-bin-mx6q, mesa: fix virtual/libgl dependencies) as the virtual/libgl removal needs to be done /only/ for i.MX6 SoCs. Change-Id: I1f83eff3c2f39ba801dbf6be61b7814fa1bb84fd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-18gpu-viv-bin-mx6q, mesa: fix virtual/libgl dependenciesSimon Braunschmidt
Fixes [YOCTO #4850] findings: * meta-fsl-arm/recipes-graphics/mesa/mesa_9.1.3.bbappend is used to delete libGL.* after compilation of mesa * ./recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.0.35-4.0.0.bb, via gpu-viv-bin-mx6q.inc, provides its own version of libGL * gpu-viv-bin-mx6q does not advertise "virtual/libgl" in "PROVIDES +=" * but mesa (via mesa.inc) does: PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" * so the statement in imx-base.inc PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "gpu-viv-bin-mx6q" does not have effect, because mesa is still the only provider of virtual/libgl * packages depending on virtual/libgl only get mesa, which will not contain the libGL library * in fact, we still use the gl headers from mesa, but the binary blob library from gpu-viv-bin-mx6q (gpu-viv-bin-mx6q does not provide the headers), so a package compiling against GL needs both mesa and gpu-viv-bin-mx6q conclusion: * so i suggest having gpu-viv-bin-mx6q depend on mesa to draw in the gl header package, advertising "virtual/libgl" for gpu-viv-bin-mx6q via "PROVIDES +=" and not advertising virtual/libgl for mesa via the .bbappend file Signed-off-by: Simon Braunschmidt <sb@emlix.com>
2013-06-07mesa-demos: Fix building using Vivante libGLOtavio Salvador
Vivante libGL does not provide the glWindowPos2iARB symbol, but glWindowPos2i. Use this instead. Change-Id: I8226fd54935bab2bbc9b2d9df92c0c18bf935186 Reported-by: Jeremy Stashluk <jstashluk@dekaresearch.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-06-07mesa: Drop libGL when building for i.MX6Otavio Salvador
The Vivante GPU package provide a libGL library which we should use to fully support the GPU features; so we drop the binary library from mesa package. Change-Id: I7e675e2fb6b9cf8600c7aa7fa961fc743bb051bc Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-06-07mesa: Update bbappend to 9.1.3 versionOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-23mesa: Rename bbappend from mesa-dri to mesaOtavio Salvador
This follow OE-Core move from mesa-dri to mesa; as OE-Core now does not require PR bumps anymore we use this opportunity to drop the PRINC and let the PR handling to PRServer. Change-Id: I7fb9c60b2188a7f03954a366669ebd0f78110936 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-21mesa-dri: Fix wrong assignment for provide list changeOtavio Salvador
The code needs to work in a list of provides but it mistakenly were working in a string array; this fixes it. Change-Id: I7a3e02086c1e3e9cf32b9503197037a512d9683f Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-20mesa-dri: Drop GIT bbappend as this is not used by defaultOtavio Salvador
This reduces one override to manage in the BSP; someone intending to use GIT snapshot should take care of it. Change-Id: I58b19e10a574dd1675fb39cf73139168a06d5c5c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-20mesa-dri: Don't build EGL, GL ES and GL ES2 librarioesOtavio Salvador
The Vivante and AMD GPU drivers provide GPU specific libraries so we cannot build the same here or we'll end conflicting. Change-Id: I96e485a3e113612dfbb5902583fa71044bb0d035 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-02-17mesa: Rename to follow OE-Core upgradeOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-01-11mesa-dri: upgrade bbappend to 9.0.1 to follow oe-coreEric Bénard
[YOCTO #3703] Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-12-14mesa-dri: Sync with version from oe-coreAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
2012-11-23mesa-dri: Change provided set of libraries when building for iMX6Otavio Salvador
This overrides the 8.0.4 and git versions of mesa-dri recipe. Change-Id: Ica3e05ade74ccc8c8c2090cac2c2f9e72fb0f66d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-09-30mesa-dri: Override provided OpenGL API set for mx5 SoCsOtavio Salvador
For mx5 SoCs, mesa-dri ought to provide just virtual/libgl as the other variations will be provided by the GPU library. This overrides the 8.0.4 and git recipe versions. Change-Id: I62b1c23128870b328a931e6924c41253106ecdda Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>