summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
Commit message (Collapse)AuthorAgeFilesLines
* directfb: Correct bashismOtavio Salvador2015-07-071-0/+18
| | | | | | | Fix builds of directfb on systems with dash as /bin/sh Change-Id: Idf5e208c8ac75f4c6251f9f5b0db317f91c42de5 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* amd-gpu-x11-mx51: use x11 compatible eglplatform.hFlorian Vallee2015-07-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Freescale's default eglplatform.h contains framebuffer headers while X11 compatible headers are located in eglplatform_1.4.h [1], therefore overwrite eglplatform.h with eglplatform_1.4.h during install. This fixes EGL on X support through xcb. For instance Qt5 would fail to enable CFG_EGL_X [2] due to the following build error during configure : invalid conversion from 'EGLNativeDisplayType {aka void*}' to 'Display* {aka _XDisplay*}' [-fpermissive] This further resulted in a runtime error with Qt5_CinematicExperience: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled [1]: http://lists.busybox.net/pipermail/buildroot/2014-November/111475.html [2]: https://codereview.qt-project.org/#/c/77523/ Signed-off-by: Florian Vallee <fvallee@eukrea.fr> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* core-image-weston: Fail gracefully if using incompatible DISTRO_FEATURESOtavio Salvador2015-07-061-0/+4
| | | | | | | | | | | Vivante GPU driver cannot operate in X11 and Wayland in same distribution as it needs to have different libraries installed. So in case 'x11' is in DISTRO_FEATURES, Wayland is disabled. Fixes [YOCTO: #7814]. Change-Id: Ibde60384b1146ecb0aad353cfbc44163b21b4fc1 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Avoid duplicate values in PROVIDESGary Thomas2015-07-061-4/+5
| | | | | | | | | | | | | | | | | Additional packages are added to the PROVIDES variable, depending on the type of processor being supported, e.g. i.MX6Q, i.MX6SX, etc. The old way this was being set could add multiple versions of the same package to the PROVIDES variable which in turn can cause confusion with sstate, e.g. a number of i.MX6 machines use :mx6q:mx6dl in their overrides whereas others might only have :mx6q. With the previous setting of PROVIDES, this package would not be sharable via sstate between such machines. This patch changes the process so that these extra packages are only added once, improving the [re]usability of sstate. Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Upgrade to 5.0.11.p4.5Neena Busireddy2015-06-101-2/+2
| | | | | | | Modify the version to match the version of imx-gpu-viv Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Upgrade sfp to 5.0.11.p4.5Neena Busireddy2015-06-101-2/+2
| | | | | Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Upgrade to 5.0.11.p4.5Neena Busireddy2015-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3.14.28-1.0.1 patch release has the following bug fixes: MGS-554 [#1644] Fix the false alert with GPU commit dirty MGS-528 [#ccc] Wayland does not free window memory until the application exits GRPH-56 [#ccc] Add environment variable to turn off memory fill GRPH-55 [ccc] Add alpha channel for direct texture viv extension MA-6540 [#1672] Fix native fence FD leak found by Android™ CTS MGS-663 [#1686] P4 release can't be built statically MA-6527 [#1666] Fix android.webgl.cts.WebGLTest CTS failure MGS-511-2 [#1593] Qt 3D app cannot run on i.MX 6SoloX board MGS-658 [#ccc] Fix build warning of isInApiTraceMode for static link Revert MGS-352 [#1453] Creating context on 5.x is slower than 4.x due to process name read MGS-578 [#1657] GoogleEarth APK encounters a shader compile error MGS-507 [#1323] RenderToTexture has distorted pictures on screen in DL board MGS-547 [#ccc] Add YVYU format test in g2d_overlay_test MGS-547 [#1640] YVYU format gets wrong result when 2D is built MGS-564 [#ccc] Resolve race condition in display frame sync MGS-367 [#1589] "CTRL+C" to close the "tutorial7_es20" causes GPU to hang MGS-543 [#1604] Remove some unsupported extensions in gles10 MGS-436 [#ccc] Memory leak in glimagesink video loop playback MA-6267 [#1600] Fix ES3.0 benchmark UBenchEnhanced can't run MA-6208-1 [#1543] Fix build error MA-6208 [#1543] Fix com.drawelements.deqp.gles3 CTS failure MGS-511 [#1593] Qt 3D app cannot run on i.MX 6SoloX board MGS-512 [#1493] Fix es30 conformance failures related to glReadPixels MGS-502 [#ccc] libCLC failure MGS-500 [#ccc] Disable apitrace for static build Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* eglinfo: Restrict i.MX6 backend for SoCs with 3D supportOtavio Salvador2015-04-282-2/+6
| | | | | | | | | The i.MX6 SoloLite does not include 3D support and the headers are not installed when building for it making it impossible to use the SoC backend. Stop setting it. Change-Id: I929d283df204372bc45888a8327563d81b125081 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* eglinfo: Avoid contaminating other boardsOtavio Salvador2015-04-232-4/+2
| | | | | | | | | | | The i.MX6 specific overrides needs to be set using _mx6 OVERRIDE to avoid contaminating other boards. The extra DEPENDS has been removed as the original recipe already depends on virtual/egl so all i.MX6 variants are covered. Change-Id: Id9cdd9a4d46d44b9afc6580784d024a54c45ee4a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Add xf86-video-imxfb-vivante.inc fileNeena Busireddy2015-04-142-75/+80
| | | | | | | | Add xf86-video-imxfb-vivante.inc file to avoid duplication for new releases. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Upgrade to 5.0.11.p4.4 versionLauren Post2015-04-092-9/+19
| | | | | | | | | - Change version to align to same version used for imx-gpu-viv - Update rc.autohdmi to handle more error cases Change-Id: I26c3342f7f6ecffc4ca975bc83795ea38f5feb17 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Upgrade to 5.0.11.p4.4 from 3.14.28-1.0.0 GA releaseLauren Post2015-04-096-61/+21
| | | | | | | | | Remove pc files now they are part of imx-gpu-viv package Fix api trace installation Change-Id: I95b35b73a249b3e80b7437f3d516e19bc3e1242c Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: set ALLOW_EMPTY_${PN}Matt Madison2015-03-261-0/+2
| | | | | | | | | | With the recent addition of rootfs creation log checking for builds using Debian packaging, rootfs builds fail because the main imx-gpu-viv package isn't present, but other packages (such as its -dev) depend on it. Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: ship libgles3-mx6-dev along with libgles2-mx6-devAndreas Müller2015-02-211-0/+3
| | | | | | | | | | | | Otherwise libgles3-mx6-dev has to be added manually to avoid error when compiling on target: | /usr/include/qt5/QtGui/qopengl.h:97:26: fatal error: GLES3/gl3.h: No such file or directory As soon as there are seperate binaries for GLES3 this connetion can be removed. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libz160: Add a build-dependency on AMD GPUOtavio Salvador2015-02-191-0/+3
| | | | | | | | | | | | This fixes the following warning: ,---- | WARNING: QA Issue: libz160 requires libgsl-fsl.so.1, but no providers | in its RDEPENDS [file-rdeps] `---- Change-Id: I920eb5f31f94118ed46105545b9d0bd175151690 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* amd-gpu-mx51.inc: Add the amd-gpu-mx51 providerOtavio Salvador2015-02-191-1/+1
| | | | | | | | Add a common provider (for X11 and Framebuffer backends) which works out of box independently of the backend of use, to be used in DEPENDS. Change-Id: I681603c76c95d647944cbe9115dadfbd508cd63d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb: Add --enable-neon on whitelisted configuration optionsOtavio Salvador2015-02-151-0/+3
| | | | | | | | | | | | This hides the following warning: ,---- | WARNING: QA Issue: xf86-video-imxfb: configure was passed unrecognised | options: --enable-neon [unknown-configure-option] `---- Change-Id: I1c0051db67be4a2640ff18af176a6411cfb86261 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb: Use xorg-driver-video.inc common fileOtavio Salvador2015-02-151-2/+3
| | | | | | | | | | | | | | The recipe were not including the xorg-driver-video.inc common file so ended not setting the right Xorg ABI dependency. This fixes the following warning: ,---- | WARNING: QA Issue: Package xf86-video-imxfb contains Xorg driver | (imx_drv.so) but no xorg-abi- dependencies [xorg-driver-abi] `---- Change-Id: Ifc2e46c2eb06233eb32c555f4943eed32b634ac4 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* amd-gpu-x11-bin-mx51: Add a build-dependency on libxextOtavio Salvador2015-02-151-1/+2
| | | | | | | | | | | | | The binaries link against the libxext so a build dependency should be add. This fixes following warning: ,---- | WARNING: QA Issue: libegl-mx51 rdepends on libxext, but it isn't a | build dependency? [build-deps] `---- Change-Id: Ia3bbfb430f046c24f0be37f0b10c3bbb489ad81a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb: Ensure kernel source is availableOtavio Salvador2015-02-151-0/+4
| | | | | | | | | | | Add a configure-time requirement on the kernel sources. This is needed because parts of this program use kernel headers directly. If the kernel package is restored from sstate, the headers will not be available unless this dependency is explicit. This new behaviour was introduced in OE-Core: 6a1ff0e7eac Change-Id: I19cf8a08b89b0e33870f804b2d4446755b3715f4 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Don't package X11 specific tools in non-X11 configurationsJacob Kroon2015-02-121-0/+6
| | | | | | | | | | Fixes: WARNING: QA Issue: imx-gpu-viv-tools-apitrace requires libX11.so.6, but no providers in its RDEPENDS [file-rdeps] Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* amd-gpu-mx51: Stop auto-renaming GPU driver librariesOtavio Salvador2015-02-051-2/+22
| | | | | | | | The AMD GPU libraries shouldn't be renamed; this allow for runtime to choose the right library at installation time. Change-Id: If674fa3d3ee0c8ff99688d0a1bc2dfda67355fa8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Performance optmizations for i.MX6 GAL2D rendererOtavio Salvador2015-02-048-28/+476
| | | | | | | | | | | | | | This improves the Weston performance considerably and is backward compatible with Vivante 4.6.9 and Vivante 5.0.X VIV-GPU drivers. The following new patches has been included: MGS-391: Weston: Performance Optimisation for single buffer mode MGS-389: Fix for wrong FPS throttling when multibuffer is set Change-Id: I17a5d8377927fa250dd0f24ac8462064dc7592ca Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: correct initscript packageDan McGregor2015-02-041-0/+1
| | | | | | | Specify that the initscript is in xserver-xorg-extension-viv-autohdmi Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* directfb: Upgrade to 1.7.4 versionNeena Busireddy2015-01-274-380/+50
| | | | | | | | Poky master upgraded directfb to 1.7.6 but 3.10.53-1.1.0 GA release is compatible with directfb 1.7.4. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Add autohdmi utilityNeena Busireddy2015-01-272-3/+55
| | | | | | | | This utility is used to monitor hdmi display hot plug and reconfigure xserver (through exa driver) if it detects the display change. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Upgrade to 3.10.53-1.1.0 GA releaseNeena Busireddy2015-01-272-89/+6
| | | | | Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-gpu-viv: Upgrade to 3.10.53-1.1.0 GA releaseNeena Busireddy2015-01-2723-266/+86
| | | | | | | | | | | | | - Graphics recipe is renamed from gpu-viv-bin-mx6q to imx-gpu-viv - Recipe version is changed to use Vivante version - gpu-viv-g2d shares same package with imx-gpu-viv - imx-gpu-viv includes separate sub packages for demos and tools to support flexible package additions - Graphics package is reorganized to improve library layout - New GPU tool apitrace is added - supported only for X11 backend Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Don't package X11 libraries in non-X11 buildsJacob Kroon2014-12-291-1/+10
| | | | | | | | | | | | | | | Running readelf --dynamic libGL.so | grep NEEDED shows that the library has runtime dependencies on X11 libs and libglapi.so. However, none of them are listed as build dependencies for non-X11 distros. In this case, skip packaging libGL, so that it doesn't cause unexpected dependency changes in buildhistory. Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Add EGL pkgconfig files for LinuxFB, Wayland and DirectFBMingtao Qu2014-12-224-2/+44
| | | | | | | | | The Vivante EGL backend require some macros to be set in CFLAGS, for compiling correct part code. this patch add the macros to pkgconfig build system. Signed-off-by: Mingtao Qu <zarelaky@hotmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Move non-demo files into separate packagesJacob Kroon2014-12-211-2/+7
| | | | | | | | | | | | | | The upgrade to 3.10.31-1.1.0 beta in 547d55d2577b60e72cd3523caaf83df65e053a10 introduced a couple of new files that should be moved to separate packages: libGAL_egl.so - Move into existing libgal-mx6 package libVSC.so - Move into new libvsc-mx6 package libVivanteOpenCL.so - Move into existing libopencl-mx6 package Vivante.icd - Move into existing libopencl-mx6 package Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libdrm: libdrm build fails due to missing space in SRC_URI_appendAlexander Shashkevych2014-12-201-1/+1
| | | | | | | | libdrm build fails due to libdrm_%.bbappend, since 'SRC_URI_append' doesn't contain leading space in appended string. Signed-off-by: Alexander Shashkevich <alex@stunpix.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Adapt code to new types used in Xserver 1.16Prabhu Sundararaj2014-12-152-1/+84
| | | | | | | | | The new Xserver 1.16 version has some changes which causes some compilation warning, this patch adapts the EXA driver for this changes. Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: Remove patch files which are unusedOtavio Salvador2014-12-073-95/+0
| | | | | | | Some patches were not removed while updating the recipe. This dropes the left over files to remove them from the layer. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* directfb: Use include file from pokyNeena Busireddy2014-12-042-72/+1
| | | | | | | | | Use directfb include file from poky as it has fixes for floating dependencies. Directfb 1.7.1 fails to build without this change. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-g2d: Remove old 3.10.17-1.0.2 recipeOtavio Salvador2014-12-041-6/+0
| | | | | | | When updating to 3.10.31-1.1.0 beta release, this recipe has not removed. Do it now. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* amd-gpu-mx51: fix file ownership in packagesJavier Viguera2014-12-021-3/+3
| | | | | | | | | | | Fix some more QA warnings: WARNING: log_check: There is a warn message in the logfile WARNING: log_check: Matched keyword: [warn] WARNING: log_check: warning: user xxxx does not exist - using root Signed-off-by: Javier Viguera <javier.viguera@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* directfb: Backport to 1.7.1Neena Busireddy2014-12-027-0/+584
| | | | | | | | | | Directfb 1.7.4 is not compatible with 3.10.31-1.1.0 beta. Preferred version to use for 3.10.31-1.1.0 beta is 1.7.1. Components that are dependent on directfb 1.7.1 fails to build without this change. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-bin-mx6q: move HAL headers to libgal-mx6-devSamuli Piippo2014-12-011-1/+1
| | | | | | | | HAL include headers should be part of libgal-dev package, instead of the current gpu-viv-bin-mx6q-dev. Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* piglit: Add a dependency over virtual/eglOtavio Salvador2014-11-251-0/+2
| | | | | | | | The build system can also use egl when GL is not avail so we ought to add this to the dependency chain as gpu-viv-bin-mx6q would not be included otherwise, for i.MX6SL. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Remove "Desktop-shell-Don-t-assume-there-is-a-pointer.patch"Otavio Salvador2014-11-242-37/+0
| | | | | | This patch is applied upstream and can be removed now. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gpu-viv-g2d: Upgrade to 3.10.31-1.1.0 betaNeena Busireddy2014-11-102-1/+9
| | | | | | | | | | | This includes bux fixes and it is compatible with the new GPU driver. The license checksum has change due the copyright's year adjustments; there are no changes in the license terms. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* xf86-video-imxfb-vivante: Upgrade to 3.10.31-1.1.0 betaNeena Busireddy2014-11-101-6/+5
| | | | | | | | | | | | -It has a support for i.MX6 SoloX SOC. -xf86-video-imxfb-vivante is compatible with new GPU libraries. The license checksum has change due the copyright's year adjustments; there are no changes in the license terms. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa-demos: Include patch to add extension headerNeena Busireddy2014-11-102-1/+19
| | | | | | | | | 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>
* imx-base: Remove preferred version for xserver-xorgNeena Busireddy2014-11-106-161/+0
| | | | | | | | Remove preferred version from imx-base and remove all the xserver-xorg 1.14 files as we now use 1.15. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base: Remove preferred version for directfbNeena Busireddy2014-11-109-635/+0
| | | | | | | | Remove preferred version for directfb and all the directfb 1.6 files as we now use directfb 1.7. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* weston: Add i.MX6 SoloX supportNeena Busireddy2014-11-101-0/+5
| | | | | | | | This includes the changes to enable weston usage with the i.MX6 SoloX SoC. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cairo: Add i.MX6 SoloX supportNeena Busireddy2014-11-101-0/+1
| | | | | | | | This includes the changes to enable cairo usage with the i.MX6 SoloX SoC. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* mesa: Update recipeNeena Busireddy2014-11-101-0/+1
| | | | | | | | | 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>
* mesa: Add i.MX6 SoloX supportNeena Busireddy2014-11-101-0/+1
| | | | | | | | 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>