raspberry pi: Dont use the video layer for EGLFS
authorJohannes Zellner <johannes.zellner@nokia.com>
Mon, 11 Jun 2012 22:57:17 +0000 (15:57 -0700)
committerQt by Nokia <qt-info@nokia.com>
Tue, 12 Jun 2012 02:30:12 +0000 (04:30 +0200)
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>
mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp

index 7cb3c7b..eb3357d 100644 (file)
@@ -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)