Merge pull request #15 from htruong/development
Fix overdraw bug for QT EGL Backend
This commit is contained in:
commit
640c0c6dc9
@ -115,7 +115,11 @@ bool OMXVideoOutput::setFullscreen()
|
||||
displayRegion.nVersion.nVersion = OMX_VERSION;
|
||||
displayRegion.nPortIndex = 90;
|
||||
|
||||
displayRegion.set = static_cast<OMX_DISPLAYSETTYPE >(OMX_DISPLAY_SET_FULLSCREEN | OMX_DISPLAY_SET_NOASPECT);
|
||||
//EGL surface needs the OMX layer to be 2
|
||||
//Otherwise the Qt UI will draw on top of it
|
||||
displayRegion.layer = 2;
|
||||
|
||||
displayRegion.set = static_cast<OMX_DISPLAYSETTYPE >(OMX_DISPLAY_SET_FULLSCREEN | OMX_DISPLAY_SET_NOASPECT | OMX_DISPLAY_SET_LAYER);
|
||||
displayRegion.fullscreen = OMX_TRUE;
|
||||
displayRegion.noaspect = OMX_TRUE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user