- First public release on github. - Early access support for Vulkan, OpenCL, OpenCV and OpenVX. - Vulkan samples. - OpenVX samples. - OpenCL samples. - OpenCV samples. - New libraries - GLI 0.8.10, GLM 0.9.7.6 - PixelFormats are now compatible with the vulkan pixel formats. - py script introduced as a simple unified way to build on all platforms if so desired. It’s still possible to build using the native platform method. - FslBuild scripts now support limited feature based filtering. - Introduced a content pipeline to help build vulkan shaders. - Windows builds - Visual Studio 2015 is now the default environment instead of 2013 - We now use the OpenVG reference implementation to emulate OpenVG.
Signed-off-by: Tom Hochstein <tom.hochst...@nxp.com> --- .../files/Add-missing-cmath-include.patch | 33 ------------ recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb | 58 ---------------------- recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_4.0.1.bb | 54 ++++++++++++++++++++ 3 files changed, 54 insertions(+), 91 deletions(-) delete mode 100644 recipes-graphics/imx-gpu-sdk/files/Add-missing-cmath-include.patch delete mode 100644 recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb create mode 100644 recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_4.0.1.bb diff --git a/recipes-graphics/imx-gpu-sdk/files/Add-missing-cmath-include.patch b/recipes-graphics/imx-gpu-sdk/files/Add-missing-cmath-include.patch deleted file mode 100644 index 0341c19..0000000 --- a/recipes-graphics/imx-gpu-sdk/files/Add-missing-cmath-include.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 8ac2feb17bd8a170d62f3abe9451a8f066003961 Mon Sep 17 00:00:00 2001 -From: Otavio Salvador <ota...@ossystems.com.br> -Date: Thu, 19 May 2016 17:13:18 +0000 -Subject: [PATCH] Add missing 'cmath' include -Organization: O.S. Systems Software LTDA. - -The header declares a set of functions to compute common mathematical -operations and transformations which was missing in a number of files. - -It has been identified when testing the GCC 6.1 compiler. - -Upstream-Status: Pending - -Signed-off-by: Otavio Salvador <ota...@ossystems.com.br> ---- - DemoApps/OpenVG/BitmapFont/source/BitmapFont.cpp | 1 + - 1 files changed, 16 insertions(+) - -diff --git a/DemoApps/OpenVG/BitmapFont/source/BitmapFont.cpp b/DemoApps/OpenVG/BitmapFont/source/BitmapFont.cpp -index 52ba0fb..a0fb2cf 100644 ---- a/DemoApps/OpenVG/BitmapFont/source/BitmapFont.cpp -+++ b/DemoApps/OpenVG/BitmapFont/source/BitmapFont.cpp -@@ -36,6 +36,7 @@ - #include <VG/openvg.h> - #include <iostream> - #include <cassert> -+#include <cmath> - - namespace Fsl - { --- -2.1.4 - diff --git a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb deleted file mode 100644 index e1ec357..0000000 --- a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_2.3.2.bb +++ /dev/null @@ -1,58 +0,0 @@ -SUMMARY = "i.MX GPU SDK Samples" -DESCRIPTION = "Set of sample applications for i.MX GPU" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=d4f548f93b5fe0ee2bc86758c344412d" -DEPENDS = "${X11_DEPENDS} ${WL_DEPENDS} assimp devil gstreamer1.0 gstreamer1.0-plugins-base" -DEPENDS_append_imxgpu2d = " virtual/libopenvg" -DEPENDS_append_imxgpu3d = " virtual/libgles2" - -X11_DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xrandr', '', d)}" -WL_DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" - -inherit fsl-eula-unpack - -# For backwards compatibility -RPROVIDES_${PN} = "fsl-gpu-sdk" -RREPLACES_${PN} = "fsl-gpu-sdk" -RCONFLICTS_${PN} = "fsl-gpu-sdk" - -SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" - -SRC_URI[md5sum] = "b9d6da385fcc51f1c72a7ddcf10b5150" -SRC_URI[sha256sum] = "ddeab8c297d17159b14be58d3690158e6fac3f12b2180610218ef6b46b4ff53a" - -SRC_URI += "file://Add-missing-cmath-include.patch" - -BACKEND = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland', 'FB', d), d)}" - -IMXGPU = "2d" -IMXGPU_imxgpu3d = "3d" - -do_compile () { - export FSL_GRAPHICS_SDK=${S} - export FSL_PLATFORM_NAME=Yocto - export ROOTFS=${STAGING_DIR_HOST} - if [ "${IMXGPU}" = "3d" ]; then - ./build.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND} install - else - ./build_OpenVG.sh -f GNUmakefile_Yocto EGLBackend=${BACKEND} install - fi -} - -do_install () { - install -d "${D}/opt/${PN}" - cp -r bin/* "${D}/opt/${PN}" - - rm -rf ${D}/opt/${PN}/GLES2/S05_PrecompiledShader - rm -rf ${D}/opt/${PN}/GLES3/S05_PrecompiledShader - rm -rf ${D}/opt/${PN}/GLES2/DeBayer - rm -rf ${D}/opt/${PN}/GLES2/DirectMultiSamplingVideoYUV - rm -rf ${D}/opt/${PN}/GLES3/DirectMultiSamplingVideoYUV -} - -FILES_${PN} += "/opt/${PN}" -FILES_${PN}-dbg += "/opt/${PN}/*/*/.debug /usr/src/debug" -INSANE_SKIP_${PN} += "already-stripped rpaths" - -COMPATIBLE_MACHINE = "(mx6)" diff --git a/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_4.0.1.bb b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_4.0.1.bb new file mode 100644 index 0000000..ce4488f --- /dev/null +++ b/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_4.0.1.bb @@ -0,0 +1,54 @@ +SUMMARY = "i.MX GPU SDK Samples" +DESCRIPTION = "Set of sample applications for i.MX GPU" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://License.md;md5=9d58a2573275ce8c35d79576835dbeb8" + +DEPENDS = "assimp devil gstreamer1.0 gstreamer1.0-plugins-base" +DEPENDS_append = \ + "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' wayland', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', ' xrandr', \ + '', d), d)}" +DEPENDS_append_imxgpu2d = " virtual/libg2d virtual/libopenvg" +DEPENDS_append_imxgpu3d = " virtual/libgles2" + +SRC_URI = "git://github.com/NXPmicro/gtec-demo-framework.git;protocol=http" + +SRCREV = "0b3aa9f4e7c3a43a4a733ce833160761d1b9ee38" + +# For backwards compatibility +RPROVIDES_${PN} = "fsl-gpu-sdk" +RREPLACES_${PN} = "fsl-gpu-sdk" +RCONFLICTS_${PN} = "fsl-gpu-sdk" + +BACKEND = \ + "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \ + 'FB', d), d)}" + +FEATURES_append_imxgpu2d = "EGL,OpenVG,G2D,EarlyAccess" +FEATURES_append_imxgpu3d = ",OpenGLES2" +FEATURES_append_mx6q = ",OpenGLES3" +FEATURES_append_mx6dl = ",OpenGLES3" + +S = "${WORKDIR}/git" + +do_compile () { + export FSL_PLATFORM_NAME=Yocto + export ROOTFS=${STAGING_DIR_HOST} + . ./prepare.sh + FslBuild.py -t sdk -u [${FEATURES}] -v --Variants [WindowSystem=${BACKEND}] -- install -j 2 +} + +do_install () { + install -d "${D}/opt/${PN}" + cp -r ${S}/bin/* ${D}/opt/${PN} + rm -rf ${D}/opt/${PN}/GLES2/DirectMultiSamplingVideoYUV + rm -rf ${D}/opt/${PN}/GLES3/DirectMultiSamplingVideoYUV + rm -rf ${D}/opt/${PN}/GLES2/DeBayer +} + +FILES_${PN} += "/opt/${PN}" +FILES_${PN}-dbg += "/opt/${PN}/*/*/.debug /usr/src/debug" +INSANE_SKIP_${PN} += "already-stripped rpaths" + +COMPATIBLE_MACHINE = "(mx6|mx7ulp)" -- 1.9.1 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale