aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
AgeCommit message (Collapse)Author
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>
2013-06-07gpu-viv-bin-mx6q: Update to 3.0.35-4.0.0 BSP releaseOtavio Salvador
This includes a new libgl-mx6 package, besides the 3.0.35-4.0.0 release includes the GL library (without the headers) so we needed to avoid the headers removal done before. The Wayland backend needs to be removed as it will be supported in another GPU package so we added an explicit FIXME note to keep it recorded. Change-Id: I07f926b94f7dd31ce51dc03f676adc6d2a080b88 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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-07xf86-video-imxfb-vivante: Update to 3.0.35-4.0.0Otavio Salvador
Change-Id: I5238f70533ba56d105fcad60e19f43832628cf63 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-06-07xf86-dri-vivante: Update to 3.0.35-4.0.0Otavio Salvador
Change-Id: Idc86a2c70345a16b2eb77c4ce7c188a638c6b1fd 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-05-28amd-gpu-x11-bin: depends on libxrenderEric BENARD
libEGL is linked against libxrender so we must depend on libxrender else linking against libEGL may fail. Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-05-22cogl: Remove 'bbappend' as Clutter recipes are being reworkedOtavio Salvador
The Clutter packages are being reworked so we need more work to get it properly supported. In meanwhile remove the bbappend to avoid build breakage. Fixes [YOCTO: #4523] Change-Id: I1364a5b76071a0abcfc4a601b3a6adc3f8451d48 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-05-13xf86-input-evdev: Follow OE-Core upgrade to 2.8.0Otavio Salvador
Change-Id: Ib072929a6f81149a9b9d90d67f87d1ad97063c96 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-23xf86-video-imxfb-vivante: Add rdepends on libvivante-dri-mx6Otavio Salvador
The driver try to dynamically load the DRI support code and it needs to be available in rootfs for use in Xorg driver. Change-Id: I549cf99ed46fd42864e0ad90b318211e5fe83e80 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-23gpu-viv-bin-mx6q: Package DRI moduleOtavio Salvador
The DRI module is dlopen by GLX code so we need to have it packaged. Change-Id: Iabd579873a6ec26e9c7c6d8ab82e8461d5b83c38 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-23xf86-dri-vivante: Add rdepends for GLX, DRI and DRI2 Xorg's extensionsOtavio Salvador
The Vivante DRI support requires GLX, DRI and DRI2 Xorg's extensions to properly work, so we add them as explicit runtime dependencies to avoid the removal of them by mistake. Change-Id: I8c59fdf3bfec137b8ed3332e5c7398fed2cee58b Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-23xserver-xorg: Do not remove Xorg native DRI moduleOtavio Salvador
The DRI support of Xorg is need to trigger the loading of Vivante DRI. So we revert this change while we keep the removal of Xorg header so we build against Vivante ones. Change-Id: I1aff6f14eb48811aa30bb364f90e66114518c5e9 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-17xf86-video-imxfb-vivante: Enable software rendering supportOtavio Salvador
This is used by Vivante for 2D acceleration support. Fixes some slowness seen when testing GUI images. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-17xf86-dri-vivante: Fix DRI module nameOtavio Salvador
The Xorg Vivante driver has a hardcoded module name as 'vivante_dri' so we need to rename it for full Xorg acceleration to work. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-17xf86-dri-vivante: Ensure install fails if .la cannot be removedOtavio Salvador
To ensure we catch when the makefile stops to install the .la file, we ensure the install fails in case .la file does not exist. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-09xf86-video-imxfb-vivante: Fix missing link to libGAL.soOtavio Salvador
Fixes the following runtime issue: ,---- | .../drivers/vivante_drv.so: undefined symbol: gcoHAL_MapUserMemory `---- The regression was cause by "61394cd gpu-viv-bin-mx6q: Rework package for a single backend use"; the other libraries seem not required to be forced linked. Change-Id: I167e9557431c69dfefe5066630fe64aa4cc60e0f Reported-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-05xf86-video-imxfb-vivante: Add missing dependency of virtual/xserverOtavio Salvador
The driver needs to use EXA headers during the build and those are deployed by Xorg after its build so we need to depends on it. Change-Id: I8956f27deddcbbcab22f7db1cf013d53970cdf7e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-05gpu-viv-bin-mx6q: Rework package for a single backend useOtavio Salvador
As we now provide a single backend there're no need for full set of packages and the binaries can use the generic names so we don't need to rework other applications and/or libraries to link properly. The xf86-video-imxfb-vivante needs also to be change as the libraries are now under generic name so we remove the backend suffix from libraries so the LDFLAGS ought to be removed for the build to succeed. Change-Id: I73cc9986babe8bb4fb0c05117c6b3d93b0470949 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-05Revert "pointercal-xinput: Add pointercal.xinput to mxs"Otavio Salvador
This reverts commit 55fd83d9ae0a7feef3901041209182306a3d6072. OE-Core does not include pointercal-xinput yet and it is part of Meta-OpenEmbedded so it cannot be part of BSP right now. We will have this included in meta-fsl-demos as an intering solution until full XInput support is included onto OE-Core. Change-Id: Ia577892182aa75163c016772beaf861cffee78dd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-02xf86-video-imxfb-vivante: Revert patch to update to newer Xorg Video APIOtavio Salvador
As we're adding a Xorg backport we don't need to patch the driver code to support newer Xorg Video API. Change-Id: I268613a4123525db4d13964431bab41bc2b042f8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-02xf86-input-evdev: Mark as machine specific for i.MX6Otavio Salvador
Change-Id: Id0d129542372318c8a479e7ba5183650bd74e577 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-02xserver-xorg: Add 1.11.4 version as it provides Video ABI 11Otavio Salvador
The Vivante GPU drivers are not compatible with newer Xorg 1.13 as it introduce some deep changes in video ABI and DRI interface. The best longterm solution is to get new GPU driver releases which are compatible with the new Xorg but in meanwhile we'll keep the working version as alternative. Change-Id: I26a122c371bce1d58a843c419558a0928baec5f6 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-02xf86-video-imxfb-vivante: Upgrade to 1.1.0Otavio Salvador
The new version packages Xorg driver and DRI source in same source package however for our use case this is worse so we workaround this packaging both separate. Change-Id: Iff3a7d2f893b9e8fab1766bc71e0f89ce41ac7dc Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-02xf86-dri-vivante: Upgrade to 1.1.0Otavio Salvador
Change-Id: I8935341e3513bcf845478a5a54a723b96c8cdcbf Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-04-02xf86-video-imxfb: Fix Xorg driver with newer APIDaiane Angolini
The previous patch which ported the Xorg driver for newer API had a mistaken change which broke the acceleration support; this patch fixes it reverting the mislanding changes. Change-Id: I74ebb311706af37c4f4141e42074e7ba81d9e671 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-03-30pointercal-xinput: Add pointercal.xinput to mxsDaiane Angolini
Change-Id: I2979e14bb2f059611fe4c1b33a01a2a95573a12f Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-03-26gpu-viv-bin-mx6q: Respect X11, DirectFB, FrameBuffer distro featuresOtavio Salvador
As we cannot allow concurrent build of applications targetting different backends we use the distro features to package the need libraries for the backend. Currently it does: X11 support, if 'x11' feature is enabled DirectFB support, if 'x11' is not enabled AND 'directfb is enabled FrameBuffer, fallback As 1.1.0 version of the Vivante libraries are build against DirectFB 1.4 we cannot support it for now, so we explicitly disable it for this version so it is easy to add it back when new version, supporting newer DirectFB, is released. Change-Id: Ia8973b8107155b8a5f7fadc50d2290c1d5f28363 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-26gpu-viv-bin-mx6q: Remove DRI librariesOtavio Salvador
The DRI library is build so we should provide the same library here. Change-Id: I170e107f7a8fda5de565e8b39a8601422d44350d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-26gpu-viv-bin-mx6q: Fix conflicting type definition in HAL headerOtavio Salvador
Change-Id: I37567a888ee02bfb55a34f36fe623938f7a07c18 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-26gpu-viv-bin-mx6q: Add a rdepends of 'libglslc-mx6' in libgles2-mx6Otavio Salvador
This fixes runtime errors as: ,---- | VertexShader: chiclet.vert: comiple error | FragmentShader: chiclet.frag: comiple error | ShaderProgram: null vertex program | Segmentation fault `---- The rdepends needs to be explicitly add as the library is loaded at runtime so it is not possible to discovery that it is required automatically. Change-Id: I39c0c1c8019f9fd5c0561f9ebddeeb31f31c6e97 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-26gpu-viv-bin-mx6q: Remove GL headers as we should use 'mesa' onesOtavio Salvador
The Xorg GLX extension requires updated GL headers to be able to run so we won't ship the Vivante specific headers. Change-Id: I6e6c094ca120104f03a2c1f6195e68716f6a370d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-26gpu-viv-bin-mx6q: group libs based on backendAdrian Alonso
* Group GPU libs based on backend * Add GPU libs to packages depending on DISTRO_FEATURES * Bump PR Change-Id: I08aaee593cc18cb7cf6f3f0ef9a3aff046d87edd Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-03-26gpu-viv-bin-mx6q: remove xlib undef macrosAdrian Alonso
* Remove xlib udef macros * Distrubuted header files rename some badly named X defines but this breaks compilation on programs that expect this macros. * Bump PR Change-Id: Iaedbb4506be5f4a641411d9888aa5338b574b7a4 Signed-off-by: Adrian Alonso <aalonso00@gmail.com>