summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Zellner <johannes.zellner@nokia.com>2012-06-11 15:57:17 -0700
committerQt by Nokia <qt-info@nokia.com>2012-06-12 04:30:12 +0200
commit1c86619037d837e2d9c6386d70b6b893f8456a96 (patch)
tree9ab47aa773fe5e5569c7d60da72f8064211a5d48
parent4fd095d242a202aab0ea8005e4034951760812e3 (diff)
raspberry pi: Dont use the video layer for EGLFS
The OpenmaxIL video_render component uses the dispmanx layer 0, so EGLFS should use at least z index 1. Otherwise the video_render would conflict with the UI and thus overpaints it. Change-Id: I3bed23567fa8c4399207289c6ef952c5a5e0d503 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Donald Carr <donald.carr@nokia.com>
-rw-r--r--mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp b/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp
index 7cb3c7b2fe..eb3357d2ac 100644
--- a/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp
+++ b/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp
@@ -294,7 +294,7 @@ QSize QEglFSPiHooks::screenSize() const
EGLNativeWindowType QEglFSPiHooks::createNativeWindow(const QSize &size)
{
- return createDispmanxLayer(QPoint(0, 0), size, 0, DISPMANX_FLAGS_ALPHA_FIXED_ALL_PIXELS);
+ return createDispmanxLayer(QPoint(0, 0), size, 1, DISPMANX_FLAGS_ALPHA_FIXED_ALL_PIXELS);
}
void QEglFSPiHooks::destroyNativeWindow(EGLNativeWindowType window)