Packages like QT5 Base with OpenGL and X support link against libGAL.so
at build time. This results in an error because some X functions used
in libGAL.so aren't referenced as the libXdamage, libXext and libXfixes
packages aren't built and installed into sysroot at the time. Fix this
by adding these three packages as build dependencies of imx-gpu-viv.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
GPU package now includes libraries for GPU2D as well as several tools to
monitor and debug the GPUs.
GPU2D libraries have been tested with the example provided in the
package:
# /usr/share/examples/fsl-samples/g2d/overlay_test/g2d_overlay_test
Overlay rendering time 53861us .
The tools have been tested with the following commands:
# cd /usr/share/examples/viv_samples/vdk/
# apitrace trace --api egl ./tutorial7 &
# gmem_info
... display memory use per PID ...
# killall tutorial7
# apitrace replay tutorial7.trace
# eglretrace tutorial7.trace
[Thomas: tweak the installation logic to be more explicit about paths
being copied, and to use cp -dpfr consistently.]
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
In order to be in line with new Freescale naming convention:
https://github.com/Freescale/meta-fsl-arm/commit/74c86aa9
"Graphics recipe is renamed from gpu-viv-bin-mx6q to imx-gpu-viv"
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>