VirtualBox

Changeset 51836 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jul 3, 2014 9:40:21 AM (11 years ago)
Author:
vboxsync
Message:

DevVGA, Main: fFailOnResize parameter for pfnUpdateDisplayAll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r51762 r51836  
    15801580        /* Process any pending VGA device changes, resize. */
    15811581        Assert(!vbvaLockIsOwner());
    1582         mpDrv->pUpPort->pfnUpdateDisplay(mpDrv->pUpPort);
     1582        mpDrv->pUpPort->pfnUpdateDisplayAll(mpDrv->pUpPort, /* fFailOnResize = */ false);
    15831583    }
    15841584
     
    15901590    {
    15911591        Assert(!vbvaLockIsOwner());
    1592         mpDrv->pUpPort->pfnUpdateDisplay(mpDrv->pUpPort);
     1592        mpDrv->pUpPort->pfnUpdateDisplayAll(mpDrv->pUpPort, /* fFailOnResize = */ false);
    15931593    }
    15941594
     
    20472047        /* VideoAccel was disabled because of a failure, switching back to VGA updates. Redraw the screen. */
    20482048        Assert(!vbvaLockIsOwner());
    2049         mpDrv->pUpPort->pfnUpdateDisplay(mpDrv->pUpPort);
     2049        mpDrv->pUpPort->pfnUpdateDisplayAll(mpDrv->pUpPort, /* fFailOnResize = */ false);
    20502050    }
    20512051}
     
    32943294        {
    32953295            Assert(!pDisplay->vbvaLockIsOwner());
    3296             pDisplay->mpDrv->pUpPort->pfnUpdateDisplayAll(pDisplay->mpDrv->pUpPort);
     3296            pDisplay->mpDrv->pUpPort->pfnUpdateDisplayAll(pDisplay->mpDrv->pUpPort, /* fFailOnResize = */ true);
    32973297        }
    32983298        else
     
    45734573        /* Force full screen update, because VGA device must take control, do resize, etc. */
    45744574        Assert(!pThis->vbvaLockIsOwner());
    4575         pThis->mpDrv->pUpPort->pfnUpdateDisplay(pThis->mpDrv->pUpPort);
     4575        pThis->mpDrv->pUpPort->pfnUpdateDisplayAll(pThis->mpDrv->pUpPort, /* fFailOnResize = */ false);
    45764576    }
    45774577}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette