If Banshee video overlay is full screen (as would be the case for
full screen 3D), don't bother rendering the desktop behind it.
This commit is contained in:
parent
3e5e519d10
commit
2cf57ab8b2
1 changed files with 8 additions and 0 deletions
|
|
@ -409,6 +409,14 @@ static void banshee_recalctimings(svga_t *svga)
|
|||
voodoo->overlay.end_x, voodoo->overlay.end_y,
|
||||
voodoo->overlay.size_x, voodoo->overlay.size_y,
|
||||
svga->overlay.pitch);
|
||||
if (!voodoo->overlay.start_x && !voodoo->overlay.start_y &&
|
||||
svga->hdisp == voodoo->overlay.size_x && svga->dispend == voodoo->overlay.size_y)
|
||||
{
|
||||
/*Overlay is full screen, so don't bother rendering the desktop
|
||||
behind it*/
|
||||
svga->render = svga_render_null;
|
||||
svga->bpp = 0;
|
||||
}
|
||||
}
|
||||
|
||||
svga->video_res_override = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue