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>
This commit is contained in:
Johannes Zellner 2012-06-11 15:57:17 -07:00 committed by Qt by Nokia
parent 4fd095d242
commit 1c86619037

View 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)