aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
2013-11-06gpu-viv-bin-mx6q: Add pc file for openvgPrabhu Sundararaj
Change-Id: Id9acfc1fd5a9d2754d94495716be7e6bde88b4eb Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
2013-11-03gpu-viv-g2d: Upgrade to 3.10.9-1.0.0_alphaLauren Post
Change-Id: Iae31c37b6c90d936123162d2ec24567e96f6c1b2 Signed-off-by: Lauren Post <lauren.post@freescale.com>
2013-11-03gpu-viv-bin-mx6q: Upgrade to 3.10.9-1.0.0_alphaLauren Post
Hardware and software floating point packages updated; adds also a runtime dependency against libgl-mesa-dev for libgl-mx6-dev. Change-Id: Ic2c9bec2df8147e17d7299ddea0a7b077c0e2f69 Signed-off-by: Lauren Post <lauren.post@freescale.com>
2013-11-03gpu-viv-bin-mx6q: Fix wayland-egl.pc version to 1.0Lauren Post
Change-Id: Iaedeb955467d820717b200bfd85d61dd920ae79e Signed-off-by: Lauren Post <lauren.post@freescale.com>
2013-10-28gpu-viv-bin-mx6q: Cleanup wayland install, disable wayland & X11 for nowAndy Voltz
Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
2013-09-28xf86-video-imxfb-vivante: Use MACHINE_SOCARCH for PACKAGE_ARCHOtavio Salvador
The xf86-video-imxfb-vivante is common to the soc-architecture so we ought to reflect this in the PACKAGE_ARCH setting. Change-Id: Ia011bbb11264a8daaa50e2988008d0f4bfc8b400 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-28libdrm: Use MACHINE_SOCARCH for PACKAGE_ARCHOtavio Salvador
The libdrm is common to the soc-architecture so we ought to reflect this in the PACKAGE_ARCH setting. Change-Id: I1b33ee5e24b34639db8ad10517dadd1a74d2e2fb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-25gpu-viv-g2d.inc: Remove redundant PACKAGE_ARCH settingOtavio Salvador
The PACKAGE_ARCH is now dynamically set for package which depends on GPU libraries. Change-Id: I812549fa9982f87ef9d6998623be9557cb731811 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-25gpu-viv-bin-mx6q.inc: Remove redundant PACKAGE_ARCH settingOtavio Salvador
The PACKAGE_ARCH is now dynamically set for package which depends on GPU libraries. Change-Id: Iafacf04fc9299b3e55b01f15b6aa02a728e356da Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-25amd-gpu-mx51.inc: Remove redundant PACKAGE_ARCH settingOtavio Salvador
The PACKAGE_ARCH is now dynamically set for package which depends on GPU libraries. Change-Id: I9315d48f5da96b2980666f21ab73e55db3e8b8c6 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-09-25xf86-input-evdev: Drop PACKAGE_ARCH overrideOtavio Salvador
The Xorg 1.11.4 version has been dropped so we don't have an ABI incompatible Xorg anymore and we now use the Xorg in sync with OE-Core/Poky so this is not need anymore. Change-Id: I8c9b1f4f233f41ff2644bd3c50c657148633e17d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-06pointercal-xinput: Move from meta-fsl-demosOtavio Salvador
The pointercal-xinput is not included in OE-Core so we ought to include it in the BSP instead of having it in meta-fsl-demos layer. Change-Id: I27dbc31aeb321609cac6a2e757742b83d609033a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-04packagegroup-core-directfb: Add Vivante GPU supportOtavio Salvador
This allow for easy addition of DirectFB support in image; we opted to add this here to avoid forcing a 'directfb' to be machine specific. Change-Id: I20ca9625a6b3cd7a54e8718ef012ed6717313ba5 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-03xf86-video-imxfb-vivante: Remove unused patchesOtavio Salvador
Following patches were not being used: - Makefile-fix-cross-compile.patch - Makefile.am-remove-prefixed-include-path.patch - build-Don-t-force-things-decided-by-build-system.patch Those were included when working on 3.5.7-1.0.0-alpha release but not removed, by mistake, when updating for 3.5.7-1.0.0-alpha.2 release. Change-Id: Ib99562eaaa2d50845782f53a5b3ad3334cb9f48a Reported-by: Evan Kotara <evan.kotara@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-03gpu-viv-bin-mx6q.inc: If Wayland and X11 are enabled, default to X11Otavio Salvador
Vivante GPU driver does not support use of Wayland AND X11 backends at same time, so we need to choose one for default. We previously had choose Wayland but many users are reporting problems as the usual expected support is still X11 so we're moving the default for X11 now. Change-Id: I30f092509f060d3bced358324a296b0f798da2cb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-31libdrm: Add fix to avoid GPU freezeOtavio Salvador
Add ARM support into xf86drm.h. This provides support for Xorg interface. Without this the vivante samples will hang during close requiring a reboot Change-Id: I60ea3c87c35fadaa00c64baffd24f74f41dfbb9b Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Evan Kotara <evan.kotara@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-29xserver-xorg: Remove backport of 1.11.4Otavio Salvador
The new Vivante GPU driver supports the new Xorg API so we don't need to keep this backport around anymore. Change-Id: Ic3a4fa912cfbf51452fbb91b9afbf9e996eb56c0 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-29xf86-video-imxfb-vivante: Upgrade to 3.5.7-1.0.0-alpha.2Otavio Salvador
The new Xorg driver does not need a DRI library anymore, so we remove the xf86-dri-vivante recipe, but use the DRI code during the Xorg GPU driver build. This change has been based on changes done in meta-fsl-bsp-release, 3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and Evan Kotara <evan.kotara@freescale.com>. Change-Id: I3f666da817fb158b201dc169ae7862b199216ddd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-29gpu-viv-bin-mx6q (3.5.7-1.0.0-alpha.2): Add Hard and Soft Float-Point releasesOtavio Salvador
Include the 3.5.7-1.0.0-alpha.2 version of GPU and the mechanism to allow this to be matched for compatibility. When adding a package of: Hard Float-Point, set: PACKAGE_FP_TYPE = "hardfp" Soft Float-Point, set: PACKAGE_FP_TYPE = "softfp" This GPU driver includes following changes/improvements: - GLES20 window mode performance is optimized for improved performance. - glmark2-es2 crashed fixed as documented: Workaround [YOCTO: #4954] so it outputs an error. A fix for it is being developed. - glmark2-es2 performance in windowed mode. Fixes [YOCTO: 4950] This change has been based on changes done in meta-fsl-bsp-release, 3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and Evan Kotara <evan.kotara@freescale.com>. Change-Id: If71a18df232282862ecd551d96e627b975238134 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-29gpu-viv-bin-mx6q: Add DirectFB backend packageOtavio Salvador
This change has been based on changes done in meta-fsl-bsp-release, 3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and Evan Kotara <evan.kotara@freescale.com>. Change-Id: I2f1bf93181e9f3246e6319f6e89f4fe842ca3da5 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-29gpu-viv-bin-mx6q.inc: Fix soname of libEGL libraryOtavio Salvador
The soname of libEGL should be 1.0 so we fix it at install time. The fix has been contributed by Evan Kotara <evan.kotara@freescale.com>. Change-Id: I99dad005f4a01b6e902e0e605d16630ebebd554d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-29gpu-viv-bin-mx6q.inc: Fix soname of libGL libraryOtavio Salvador
The soname used by mesa is 1.2.0 while the Vivante binary lacked the minor version so sometimes we might end fetching the wrong package because of this. Change-Id: I581c573f2b794923baa96829a483cd6d6f5393e0 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-25gpu-viv-g2d: Add version 3.5.7-1.0.0Lauren Post
GPU 2D API libraries and sample applications Change-Id: Id94b33879119e882f939668bad61a1a7364db89d Signed-off-by: Lauren Post <lauren.post@freescale.com>
2013-08-19gpu-viv-bin-mx6q.inc: Fix libopencl-mx6 runtime dependencyOtavio Salvador
The libopencl-mx6 requires libclc-mx6 to proper run so we move it from libopencl-mx6-dev package to libopencl-mx6. Change-Id: I125a01022cf04f528a954cc4c1cbc826af79608e Reported-by: Sébastien Taylor <me@staylor.ca> 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-08-04xf86-input-evdev: Follow OE-Core upgrade to 2.8.1 versionOtavio Salvador
Change-Id: I6b430d2b2bc8620ed0ea373bb9e9f9b5896af19f Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-29gpu-viv-bin-mx6q.inc: Ensure DRI module is add for Wayland + X11 caseOtavio Salvador
When Wayland and X11 distro features are enabled, ensure DRI module is installed. Fixes a regression introduced by 20d7652 (gpu-viv-bin-mx6q: Adding support to install Wayland GPU libs). Change-Id: I0b515641edee6a172469f65068f9de837b592c87 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-26gpu-viv-bin-mx6q.inc: Add libEGL.so in libegl-mx6Otavio Salvador
There're examples, provided by Freescale, which links wrongly against the .so file (instead of the .so.1 one as expected) and this cannot be fixed without source code. We workaround this for now deploying the libEGL.so file inside libegl-mx6 binary. Change-Id: Ia7b36ee18ca42b374c8d6a8df6424d18d6c89278 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Eric Nelson <eric.nelson@boundarydevices.com>
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-26gpu-viv-bin-mx6q.inc: Make mesa dependency conditional for x11Otavio Salvador
When building without x11 support, we don't need to build mesa. Change-Id: I3c7d36752c089ad5957afbf13d87424b517a780d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-25gpu-viv-bin-mx6q: Adding support to install Wayland GPU libsAbhijit Potnis
This patch installs wayland GPU libs if the DISTRO_FEATURES contains wayland variable. If both X11 and wayland are present in DISTRO_FEATURES then wayland is picked as the default backend. Signed-off-by: Abhijit Potnis <abhijitpotnis@gmail.com>
2013-07-24gpu-viv-bin-mx6q: move EGL and KHR headers to libegl-mx6-devSamuli Piippo
EGL and KHR include headers should be part of libegl-dev package, instead of the current gpu-viv-bin-mx6q-dev. Change-Id: I3bfa095b0e5576f00885357611a0f2b3356d70e0 Signed-off-by: Samuli Piippo <samuli.piippo@digia.com>
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-20gpu-viv-bin-mx6q: Move 3.0.35-4.0.0 specific code to .bbOtavio Salvador
The patches and revision are very version specific (as new versions do not require PR anymore) so we move it from .inc to the .bb file. Change-Id: Ic5bc267f74ac54a28328f6b79a819d5cf852681a 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-20gpu-viv-bin-mx6q.inc: Add libclc-mx6 as runtime depedency of libopencl-mx6-devOtavio Salvador
The libclc-mx6 is required when doing C development so we add it as runtime dependency of libopencl-mx6-dev to easy it's deployment and avoid it to being included in all rootfs. Change-Id: Ic0fc199ee2b65e97841d680b8fc1599a299e4bfe Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-20gpu-viv-bin-mx6q.inc: Keep library package suffix for OpenGL interfacesOtavio Salvador
For the packages that make up the OpenGL interfaces, inject variables so that they don't get Debian-renamed (which would remove the -mx6 suffix). Change-Id: I203addf85c08a6f0c7cddaa6bfa45f6b896bf595 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-07-02gpu-viv-bin-mx6q.inc: fix libEGL and libGLESv2 installationPhilip Craig
Previously, we were only packaging libEGL.so and libGLESv2.so. This worked at runtime because ldconfig installed symlinks for the soname of these libraries (libEGL.so.1 and libGLESv2.so.2). However, there are situations where we need the soname version of these libraries at build time. Specifically, if these libraries are indirectly referenced by another library, then the linker looks them up using the soname. This patch changes the installation of these libraries to the normal way of installing. That is, we install them as the soname, and create symlinks for libEGL.so and libGLESv2.so.2. This also matches the way that these libraries are provided in the source. The one catch with that is libEGL.so also tries to load libGLESv2.so directly at runtime, rather than using the soname, so we need to install the libGLESv2.so symlink to the rootfs also, and we need to disable a QA error to allow this. libGL and libGLESv1 are fixed in a similar manner, but I haven't tested them. This fixes the following errors when building qtgstreamer: oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: warning: libGLESv2.so.2, needed by oe-core/build/tmp-eglibc/sysroots/imx6qsabrelite/usr/lib/libQt5Gui.so.5.0.2, not found (try using -rpath or -rpath-link) oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: warning: libEGL.so.1, needed by oe-core/build/tmp-eglibc/sysroots/imx6qsabrelite/usr/lib/libQt5Gui.so.5.0.2, not found (try using -rpath or -rpath-link) Change-Id: I8e0a2175b6d6bd1a6972c79c8532061edd8dca0d Signed-off-by: Philip Craig <phil@blackmoth.com.au>
2013-06-24gpu-viv-bin-mx6q.inc: Add linked libraries to libGAL to DEPENDSAndrei Gherzan
libGAL is linked to a couple of libraries so add these libraries to DEPENDS to give shlibs the possibility of picking them up. Change-Id: I4ae27eaa131fdb4069c8a60a14f5050aacc2f5ac Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-06-24gpu-viv-bin-mx6q: fixing pkg-config files for non-x11 builds.Thomas Senyk
egl.pc and glesv1_cm.pc had 'Requires.private' on x11 libs. This got removed from them. To keep the x11 behavior, new x11 specific pkg-config files were added and will be installed by gpu-viv-bin-mx6q.inc, if "X11'-DISTRO_FEATURE is present. For uniformity reasons, the same schema got applied to glesv2.pc Change-Id: I23c1b685d4be10119a0f90179c2e87e1db64ca05 Signed-off-by: Thomas Senyk <thomas.senyk@pelagicore.com>
2013-06-24gpu-viv-bin-mx6q: Add -lEGL and -lGAL to glesv2.pc and glesv1_cm.pcThomas Senyk
libGLESv2 has undefined symbols, which get provided by libEGL and libGAL, but libGLESv2 has no implicit 'link' to those libs. So if you link against libGLESv2 but not against libEGL and libGAL, you'll get 'undefined symbol'-errors. Change-Id: I2c35ba4b592a89106b82e16bbfdfb2c5fc6553c6 Signed-off-by: Thomas Senyk <thomas.senyk@pelagicore.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-06-24amd-gpu-mx51.inc: install dev symbolic linkDaiane Angolini
Create the .so file needed by -dev package. Change-Id: Ibcff7d77f6e8f0eb96f333689449b3dafdee7b70 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-06-17amd-gpu-bin-mx51: new recipeEric BENARD
this provides the GPU libraries for framebuffer Change-Id: I82d918384d623043401290a0eab66e075176ba82 Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-06-17amd-gpu-x11-bin-mx51: factorize the recipesEric BENARD
this will allow easier addition of non x11 package Change-Id: Ib7df3aa52ae2fdc10044e475087933ea5d258b93 Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-06-17amd-gpu-x11-bin-mx51: only enable when x11 is in DISTRO_FEATURESEric BENARD
this prevent warnings and parse errors Change-Id: Ia441cbdf89009a7aa7ae07ed7f97475183b0a99c Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-06-07gpu-viv-bin-mx6q: Add pkg-config filesDiego Rondini
Provide pkg-config files for egl, glesv1_cm and glesv2 Change-Id: Ie6d8c24d9415068927784a917ede644d87c283f7 Signed-off-by: Diego Rondini <diego.ml@zoho.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>