aboutsummaryrefslogtreecommitdiffstats
path: root/qt5-layer
AgeCommit message (Collapse)AuthorFilesLines
2016-09-08qtbase: Enable support for i.MX SoCs with PXPOtavio Salvador1-0/+2
This enables the use of GLES2 backend for Software Rendering allowing SoCs without GPU support to use it. Up to now, this includes i.MX6UL and i.MX7D. Change-Id: I3011a84198d42744639121394423106fcfc738b3 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-08qtbase: Refactor code to use the new overridesOtavio Salvador1-12/+11
The recipe has been reworked to use the 'imxgpu2d' and 'imxgpu3d' feature overrides. While on that, the i.MX6SL specific code has been reworked to used when only 2D GPU support is available. Change-Id: I8fade08f54bd74e1dfd46b59711f6896c0bc7e6e Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-06qtbase: Stop using base_containsOtavio Salvador1-6/+6
The base_contains function is deprecated and we ought to use bb.utils.contains instead. Change-Id: Ib53b854f79f45ecd75da9f5c07a276465f2675fb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-01qtbase: Allow to build eglfs with x11 in DISTRO_FEATURESMartin Jansa1-1/+1
* even when x11 is in DISTRO_FEATURES someone might configure qtbase to build with eglfs, that works OK with Qt 5.5.1, because -DEGL_API_FB=1 is also passed through mkspecs/devices/linux-imx6-g++/qmake.conf but with 5.6 and 5.7 it fails when X11 headers are include with their own Status enum (the same errors like before https://codereview.qt-project.org/#/c/105116/2) Adding -DEGL_API_FB=1 like linux-imx6-g++/qmake.conf does is simplest workaround to prevent imx-gpu-viv from including Xlib from EGL/eglvivante.h Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-14qtbase: follow 5.5 platform configuration styleAndreas Müller1-3/+1
This one comes up when building for non-x11 / wayland. for further details see qtbase commit d04c3d2079e0df79592128a67e115ecb90b08454 Author: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Date: Mon Mar 2 16:09:22 2015 +0100 eglfs: Pluginize RPi, iMX6 and Mali backends eglfs does not depend on the device makespecs anymore when it comes to these device integration backends (hooks). Instead, backends are autodetected by configure. The name of the preferred plugin is still set in the device makespecs. This is optional. When not set and there is more than one plugin present in the system, the environment variable QT_QPA_EGLFS_INTEGRATION will have to be set at runtime. In the absence of that, the order is undefined. Change-Id: Ie1ced2c9aa1beff2adb13b4fdea7c499cb5a6aab Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-09-14qtbase: remove Force_egl_visual_ID_33.patchAndreas Müller2-27/+0
It does not apply for Qt 5.5 anymore and mainline qtbase takes care for vivante specifics. See qtbase commit e7bd18f156e508969cc536c0f0b8e3c2c3c75c47 Author: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Date: Wed Mar 18 11:03:39 2015 +0100 Fix EGL config - X visual matching for i.MX6 Task-number: QTBUG-44290 Change-Id: I06cbb169803aa8a06ea310651def1f3582194c8e Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.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 Salvador1-22/+0
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-07-28qtbase: Fix indentation of recipeOtavio Salvador1-17/+16
The recipe had a mix of indentation styles which makes it hard to read. Those are changed to avoid tabs and rely on spaces only. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-03qtbase: x11 support for qt5 - disable eglfsFlorian Vallee1-0/+1
EGLFS and Xcb-EGL backends are exclusive, configure qt appropriately on mx5 as is already done for the mx6 family Note: X11 support depends on previous amd-gpu-x11-mx51 patch Change-Id: I1c960150cadaa977eee6daa2d2403cf0faf6cb39 Signed-off-by: Florian Vallee <fvallee@eukrea.fr> Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-06qtbase: Add overrides for i.MX6SoloXNeena Busireddy1-0/+2
Change-Id: Ib736ab6c45748c9714e9c57607ae6681e3b68f07 Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-19qtbase: Remove distribution-related settingsOtavio Salvador1-3/+1
The use of TSLib, ICU and availability of examples is a distribution configuration and not a BSP thing. Drop this settings from the bbappend. WARNING ------- This breaks QtWebKit based applications, as OE-Core and Poky distros does not add 'icu' to the DISTRO_FEATURES list. Change-Id: Ief633eab9473c3fddd359132ce7196e30b3ea293 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-15qtbase: Include Sololite changes.Neena Busireddy1-2/+18
Sololite x11 backend only supports mesa software rendering GL but does not support GLES. Sololite non-x11 backends (fb, wayland and dfb) do not support GL and GLES. Change qtbase recipe to support sololite qt for all backends. Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-12qtmultimedia: Drop i.MX6 support patch as Qt 5.3.0 is now in useOtavio Salvador2-849/+0
The Qt 5.3.0 includes this patch so we need to drop it from the BSP layer in other to avoid conflicts. Change-Id: I0fe8592daae18a18f4d149321ff4d03e8b6d64a5 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-03qtmultimedia: Fix zero-copy patch for imx6 so that the plugin will be buildThomas Senyk1-4/+2
The "*imx6* {" is a check on mkspec name which doesn't contain "imx6" in the case of building with bitbake. When building with bitbake, it's the recipes deciding which code/patch goes in -> we need to check here Change-Id: Ia99515db58d79bcd460c87ad28c0ddfe19d4aa19 Signed-off-by: Thomas Senyk <thomas.senyk@pelagicore.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-05-24qtmultimedia: Add support for i.MX6Otavio Salvador2-0/+851
This patch implements GStreamer-buffer to OpenGL-texture for i.MX6 allowing fluid video-playback up to 1080p with very little CPU load. The patch has been backported from Qt 5.3. Change-Id: I9a5b47b5d3eb5917708d8c44602d4634dfc44cdc Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-05-12qtwebkit: Fix shader generation to be compliant to the specification1.6Prabhu Sundararaj2-0/+46
QTWebkit generates shader which is not complaint to specification causing error with Vivante shader compiler. https://bugs.webkit.org/show_bug.cgi?id=124653#c9 Apply this patch till it get fixed in mainline. Change-Id: I85cf1a2fcb7457807f43a763b011e0b5ad11e8e9 Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-03-24qtbase: Fix QT_CONFIG_FLAGS to work for non-X11.Ann Thornton1-1/+1
eglfs is needed for FB and Wayland backends. Change-Id: I83a1dfbbdf620e51ddc783c5dfe12452c4815ce1 Signed-off-by: Ann Thornton <ra43240@freescale.com> Acked-by: Daiane Angolini <daiane.angolini@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-03-11qtbase: Disable eglfs build for i.MX6 SoCs using X11Otavio Salvador2-0/+28
The eglfs hooks require the Framebuffer API calls which are not available when building for X11; to allow qtbase to build for X11 we must disable eglfs support due this restriction. A patch to workaround EGL initialization failure due visual mismatch has been included as well, forcing Visual ID 33. Change-Id: I564b0d30f137e55885268b656e68fdc3151fb93d Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-02-10qtbase: change .bbappend to use %Sébastien Taylor1-0/+0
The meta-qt5 updated Qt version 5.1.1 to 5.2.0, change file name to use % and append against any revision of the main qtbase recipe. This makes updating the .bbappend file name only necessary if recipe itself needs to change. Change-Id: I16852d67c8becdf55a851ea3b52c411ffa805c28 Signed-off-by: Se?bastien Taylor <me@staylor.ca>
2013-10-15qtbase: update to version 5.1.1Christoph Settgast1-0/+0
meta-qt5 uses 5.1.1, update bbappend accordingly Signed-off-by: Christoph Settgast <christoph.settgast@methodpark.de> Acked-by: Eric Bénard <eric@eukrea.com>
2013-10-07qtbase: update mx5 & mx6 supportEric BENARD3-222/+32
- remove 5.0.2 as meta-qt5 has 5.1.0 by default - tested on i.MX53 with eglfs and xcb platforms. FPS is not very good despite the GPU (~24 fps on 800x480) - tested on i.MX6 with eglfs platform : performance is very good (> 150 fps on 640x480) Signed-off-by: Eric Bénard <eric@eukrea.com>
2013-09-25qt5: Remove redundant PACKAGE_ARCH settingOtavio Salvador2-6/+0
The PACKAGE_ARCH is now dynamically set for package which depends on GPU libraries. Change-Id: I0d14dce02fc5263a403ad3b0b55b1e67ccae0c5a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-08-29qtbase: Add qtbase_5.1.0.bbappendErik Botö1-0/+74
Copy the qtbase_5.0.2.bbappend to qtbase_5.1.0.bbappend since Qt 5.1.0 is now the default version built in meta-qt5. Change-Id: I138c6a78591dd0013ee99b461d390fabe74baed9 Signed-off-by: Erik Botö <erik.boto@pelagicore.com>
2013-07-29qt5: add mx5 and mx6 supportEric BENARD2-0/+179
- this allow to build qt5 with OpenGL ES support for i.MX5 and i.MX6 - tested on i.MX51, i.MX53 and i.MX6Q - X11 support is not yet tested so we don't change the core settings when x11 is in DISTRO_FEATURES Change-Id: Ie9c6b25cafe20ba0a3dc8ab4c6e6cdac4eee3f0d Signed-off-by: Eric Bénard <eric@eukrea.com>