From 912758262e2036f55c4e36e43d4acc3564759e29 Mon Sep 17 00:00:00 2001 From: aavit Date: Mon, 17 Feb 2014 14:48:01 +0100 Subject: Doc: Explain about disabling surfaceflinger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib4dbfc3d5f62ba3792f44b191143039c63d880df Reviewed-by: Topi Reiniƶ --- src/doc/src/b2qt.qdoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/doc') diff --git a/src/doc/src/b2qt.qdoc b/src/doc/src/b2qt.qdoc index 694dc7c..80be1d3 100644 --- a/src/doc/src/b2qt.qdoc +++ b/src/doc/src/b2qt.qdoc @@ -825,6 +825,23 @@ } \endcode + \section1 Disabling Screen Composer on Embedded Android + + By default, the \B2Q stack uses Android's screen composer, \e + Surfaceflinger. It is required for Qt Multimedia functionality, + i.e. video playback and camera. If that functionality is not + required, Surfaceflinger may be disabled. This can in some + situations improve performance. + + \list 1 + \li Edit \c {/system/bin/appcontroller.conf} to set the value of + the environment variable \c QT_QPA_EGLFS_NO_SURFACEFLINGER to \c + 1 instead of \c 0. + \li Disable the startup of \c surfaceflinger at boot-up. Either + change \c /init.rc, or simply rename the \c + {/system/bin/surfaceflinger} executable. + \endlist + \section1 Building Your Own Embedded Linux Image \B2QL is built using the tools and resources from the \l {Yocto Project}, -- cgit v1.2.3