All of lore.kernel.org
 help / color / mirror / Atom feed
* [master/morty][PATCH] recipes-multimedia : video-graphics-test : new demo
@ 2017-03-13 18:57 Manisha Agrawal
  2017-03-14 22:27 ` Denys Dmytriyenko
  0 siblings, 1 reply; 6+ messages in thread
From: Manisha Agrawal @ 2017-03-13 18:57 UTC (permalink / raw)
  To: meta-arago

Add new demo to Processor Linux SDK. This demo is package along with
source code in PLSDK and binary available under /usr/bin folder of the
filesystem. The demo is target to showcase AM57x Display Sub System
capabilities, 2D graphics accelerator GC320 video API usage for overlay
and QT drawing using 3D graphics accelerator. In this particular release
the demo is showing the DRM API usage for scaling and overlaying using
DSS and special QT QPA eglfs-kms for rendering using SGX. QT is the
master of the drm resource but shares the handle with application too.

Signed-off-by: Manisha Agrawal <manisha.agrawal@ti.com>
---
 .../conf/distro/arago-source-ipk.conf              |  3 +++
 .../ti-tisdk-makefile/Makefile_video-graphics-test | 24 +++++++++++++++++++
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb     |  1 +
 .../video-graphics-test/video-graphics-test_1.0.bb | 28 ++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_video-graphics-test
 create mode 100644 meta-arago-extras/recipes-multimedia/video-graphics-test/video-graphics-test_1.0.bb

diff --git a/meta-arago-distro/conf/distro/arago-source-ipk.conf b/meta-arago-distro/conf/distro/arago-source-ipk.conf
index 96f2db2..5941519 100644
--- a/meta-arago-distro/conf/distro/arago-source-ipk.conf
+++ b/meta-arago-distro/conf/distro/arago-source-ipk.conf
@@ -67,6 +67,9 @@ SRCIPK_INSTALL_DIR_pn-qt-tstat = "example-applications/${PN}-${PV}"
 CREATE_SRCIPK_pn-dual-camera-demo = "1"
 SRCIPK_INSTALL_DIR_pn-dual-camera-demo = "example-applications/${PN}-${PV}"
 
+CREATE_SRCIPK_pn-video-graphics-test = "1"
+SRCIPK_INSTALL_DIR_pn-video-graphics-test = "example-applications/${PN}-${PV}"
+
 CREATE_SRCIPK_pn-image-gallery = "1"
 SRCIPK_INSTALL_DIR_pn-image-gallery = "example-applications/${PN}"
 
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_video-graphics-test b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_video-graphics-test
new file mode 100644
index 0000000..1ffc395
--- /dev/null
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_video-graphics-test
@@ -0,0 +1,24 @@
+# QT Video Graphics build targets
+video-graphics-test:
+	@echo ================================
+	@echo    Building Video Graphics Test
+	@echo ================================
+	@cd example-applications; cd `find . -name "*video-graphics-test*"`; make -f Makefile.build
+
+video-graphics-test_clean:
+	@echo ================================
+	@echo    Building Video Graphics Test
+	@echo ================================
+	@cd example-applications; cd `find . -name "*video-graphics-test*"`; make -f Makefile.build clean
+
+video-graphics-test_install:
+	@echo ===================================================
+	@echo   Installing Video Graphics Test - Release version
+	@echo ===================================================
+	@cd example-applications; cd `find . -name "*video-graphics-test*"`; make -f Makefile.build install
+
+video-graphics-test_install_debug:
+	@echo =================================================
+	@echo   Installing Video Graphics Test - Debug version
+	@echo =================================================
+	@cd example-applications; cd `find . -name "*video-graphics-test*"`; make -f Makefile.build install_debug
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
index 202078c..40ba3be 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
@@ -31,6 +31,7 @@ SRC_URI = "\
     file://Makefile_omapconf \
     file://Makefile_oprofile-example \
     file://Makefile_dual-camera-demo \
+    file://Makefile_video-graphics-test \
     file://Makefile_image-gallery \
     file://Makefile_cryptodev \
     file://Makefile_cmem-mod \
diff --git a/meta-arago-extras/recipes-multimedia/video-graphics-test/video-graphics-test_1.0.bb b/meta-arago-extras/recipes-multimedia/video-graphics-test/video-graphics-test_1.0.bb
new file mode 100644
index 0000000..4e428b2
--- /dev/null
+++ b/meta-arago-extras/recipes-multimedia/video-graphics-test/video-graphics-test_1.0.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Test applications for video and graphics interface"
+HOMEPAGE = "https://git.ti.com/sitara-linux/video-graphics-test"
+SECTION = "multimedia"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c7ca707704d3354a64feeb4f19f52eb5"
+
+DEPENDS += "libdrm"
+
+PR = "r0"
+
+BRANCH = "master"
+SRCREV = "ebc7ab44d05fc726b0ddc7f4b45d71d7509313f5"
+
+SRC_URI = "git://git.ti.com/sitara-linux/video-graphics-test.git;protocol=git;branch=${BRANCH} \
+"
+
+S = "${WORKDIR}/git"
+
+inherit qt-provider
+
+export SDK_PATH_TARGET='${STAGING_DIR_HOST}'
+
+# use the make targets already created in the Makefile.build files
+do_install() {
+    install -d ${D}/usr/bin
+    install video_graphics_test ${D}/usr/bin/video-graphics-test
+}
+
-- 
2.9.3



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-11 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-13 18:57 [master/morty][PATCH] recipes-multimedia : video-graphics-test : new demo Manisha Agrawal
2017-03-14 22:27 ` Denys Dmytriyenko
2017-03-16 19:16   ` Agrawal, Manisha
2017-03-16 19:25     ` Denys Dmytriyenko
2017-05-08 19:52       ` Denys Dmytriyenko
2017-05-11 22:16         ` Agrawal, Manisha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.