summaryrefslogtreecommitdiffstats
path: root/recipes-bcm
diff options
context:
space:
mode:
authorAlex J Lennon <ajlennon@dynamicdevices.co.uk>2014-06-14 14:38:13 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2014-08-14 19:54:30 +0200
commit6a8c859c2f1c1f56e6ff0f19cd67a5b4d2380d53 (patch)
tree3d3606010fb54167c2de8d75b2c1454af71308d5 /recipes-bcm
parente598f63fbbab28bb2e6fe368d0e518d91003d9de (diff)
downloadmeta-raspberrypi-6a8c859c2f1c1f56e6ff0f19cd67a5b4d2380d53.tar.gz
rpi-config,README: Add option to enable offline image compositing
Set this variable to enable support for dispmanx offline compositing DISMANX_OFFLINE = "1" This will enable the firmware to fall back to off-line compositing of Dispmanx elements. Normally the compositing is done on-line, during scanout, but cannot handle too many elements. With off-line enabled, an off-screen buffer is allocated for compositing. When scene complexity (number and sizes of elements) is high, compositing will happen off-line into the buffer. Heavily recommended for Wayland/Weston. See: http://wayland.freedesktop.org/raspberrypi.html Change-Id: I722b20ff5bdba1bdd0683d30bee07c3934c95a1f Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
Diffstat (limited to 'recipes-bcm')
-rw-r--r--recipes-bcm/bootfiles/rpi-config_git.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bcm/bootfiles/rpi-config_git.bb b/recipes-bcm/bootfiles/rpi-config_git.bb
index 9b5c1e6..29ced34 100644
--- a/recipes-bcm/bootfiles/rpi-config_git.bb
+++ b/recipes-bcm/bootfiles/rpi-config_git.bb
@@ -60,6 +60,12 @@ do_deploy() {
60 echo "# Enable video camera" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt 60 echo "# Enable video camera" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
61 echo "start_x=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt 61 echo "start_x=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
62 fi 62 fi
63
64 # Offline compositing support
65 if [ -n "${DISPMANX_OFFLINE}" ]; then
66 echo "# Enable offline compositing" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
67 echo "dispmanx_offline=1" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
68 fi
63} 69}
64 70
65addtask deploy before do_package after do_install 71addtask deploy before do_package after do_install