summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraavit <eirik.aavitsland@digia.com>2014-02-17 14:48:01 +0100
committerTopi Reiniƶ <topi.reinio@digia.com>2014-02-18 17:27:35 +0200
commit912758262e2036f55c4e36e43d4acc3564759e29 (patch)
treec3286d13a70865b46c978f2461421b2327e42214
parent2ae4b46d8e117aa645a05dd150050bb851c2333e (diff)
Doc: Explain about disabling surfaceflinger
Change-Id: Ib4dbfc3d5f62ba3792f44b191143039c63d880df Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r--src/doc/src/b2qt.qdoc17
1 files changed, 17 insertions, 0 deletions
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},