- bump SRCREV to pick up the GPU demos rebuilt against the latest
  EGL/GLES libraries
- Add DRM-base demos for full-screen operation
- cleanup the do_install operation

Signed-off-by: Eric Ruei <[email protected]>
---
 .../img-pvr-sdk/img-pvr-sdk_3.3.2.bb          | 71 ++++++++++---------
 1 file changed, 39 insertions(+), 32 deletions(-)

diff --git 
a/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb 
b/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
index 98fb6e00..7cdc6183 100644
--- a/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
+++ b/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
@@ -7,9 +7,9 @@ CLEANBROKEN = "1"
 BRANCH = "master"
 
 SRC_URI = 
"git://git.ti.com/graphics/img-pvr-sdk.git;protocol=git;branch=${BRANCH}"
-SRCREV = "e76ae77b27ef570e7b8494c3d7067fd3d72b5976"
+SRCREV = "bb8b74cdd1323e76697b3eb2258f863b15fee287"
 
-PR = "r17"
+PR = "r18"
 
 COMPATIBLE_MACHINE = "omap-a15|ti43x|ti33x|k3"
 
@@ -25,6 +25,7 @@ do_install () {
 
     install -d ${D}${bindir}/SGX/demos/Raw/
     install -d ${D}${bindir}/SGX/demos/Wayland/
+    install -d ${D}${bindir}/SGX/demos/DRM/
 
     install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/NullWS/OGLES2ChameleonMan 
${D}${bindir}/SGX/demos/Raw/
     install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/NullWS/OGLES2Coverflow 
${D}${bindir}/SGX/demos/Raw/
@@ -33,38 +34,44 @@ do_install () {
     install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/NullWS/OGLES2MagicLantern 
${D}${bindir}/SGX/demos/Raw/
     install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/NullWS/OGLES2FilmTV 
${D}${bindir}/SGX/demos/Raw/
 
-    if [ ${SRC_DIR} == "arm" ]; then
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2ChameleonMan 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2Coverflow 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2ExampleUI 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2Navigation 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2MagicLantern 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2FilmTV 
${D}${bindir}/SGX/demos/Wayland/
-    fi
-
-    if [ ${SRC_DIR} == "arm64" ]; then
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESDeferredShading 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESGaussianBlur 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESImageBasedLighting 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESIntroducingPVRCamera 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESIntroducingPVRUtils 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESIntroducingUIRenderer
 ${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESNavigation2D 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESNavigation3D 
${D}${bindir}/SGX/demos/Wayland/
-        install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESParticleSystem 
${D}${bindir}/SGX/demos/Wayland/
-
-        cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESDeferredShading
 ${D}${bindir}/SGX/demos/Wayland/
-        cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESGaussianBlur 
${D}${bindir}/SGX/demos/Wayland/
-        cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESImageBasedLighting
 ${D}${bindir}/SGX/demos/Wayland/
-        cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESIntroducingPVRCamera
 ${D}${bindir}/SGX/demos/Wayland/
-        cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESIntroducingPVRUtils
 ${D}${bindir}/SGX/demos/Wayland/
-        cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESIntroducingUIRenderer
 ${D}${bindir}/SGX/demos/Wayland/
-        cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESNavigation2D 
${D}${bindir}/SGX/demos/Wayland/
-        cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESNavigation3D 
${D}${bindir}/SGX/demos/Wayland/
-        cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESParticleSystem
 ${D}${bindir}/SGX/demos/Wayland/
-    fi
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2ChameleonMan 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2Coverflow 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2ExampleUI 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2Navigation 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2MagicLantern 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OGLES2FilmTV 
${D}${bindir}/SGX/demos/Wayland/
+
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/DRM/OGLES2ChameleonMan 
${D}${bindir}/SGX/demos/DRM/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/DRM/OGLES2Coverflow 
${D}${bindir}/SGX/demos/DRM/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/DRM/OGLES2ExampleUI 
${D}${bindir}/SGX/demos/DRM/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/DRM/OGLES2Navigation 
${D}${bindir}/SGX/demos/DRM/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/DRM/OGLES2MagicLantern 
${D}${bindir}/SGX/demos/DRM/
+    install -m 755 ${S}/targetfs/${SRC_DIR}/Examples/Advanced/DRM/OGLES2FilmTV 
${D}${bindir}/SGX/demos/DRM/
 }
 
+do_install_append_j7-evm () {
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESDeferredShading 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESGaussianBlur 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESImageBasedLighting 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESIntroducingPVRCamera 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESIntroducingPVRUtils 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESIntroducingUIRenderer
 ${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESNavigation2D 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESNavigation3D 
${D}${bindir}/SGX/demos/Wayland/
+    install -m 755 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/OpenGLESParticleSystem 
${D}${bindir}/SGX/demos/Wayland/
+
+    cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESDeferredShading
 ${D}${bindir}/SGX/demos/Wayland/
+    cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESGaussianBlur 
${D}${bindir}/SGX/demos/Wayland/
+    cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESImageBasedLighting
 ${D}${bindir}/SGX/demos/Wayland/
+    cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESIntroducingPVRCamera
 ${D}${bindir}/SGX/demos/Wayland/
+    cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESIntroducingPVRUtils
 ${D}${bindir}/SGX/demos/Wayland/
+    cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESIntroducingUIRenderer
 ${D}${bindir}/SGX/demos/Wayland/
+    cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESNavigation2D 
${D}${bindir}/SGX/demos/Wayland/
+    cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESNavigation3D 
${D}${bindir}/SGX/demos/Wayland/
+    cp -r 
${S}/targetfs/${SRC_DIR}/Examples/Advanced/Wayland/Assets_OpenGLESParticleSystem
 ${D}${bindir}/SGX/demos/Wayland/
+}
+
+
 RDEPENDS_${PN} = "ti-sgx-ddk-um"
 RDEPENDS_${PN}_j7-evm = "ti-img-rogue-umlibs"
 
-- 
2.17.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to