VirtualBox

Ignore:
Timestamp:
Jul 3, 2014 9:40:21 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
94686
Message:

DevVGA, Main: fFailOnResize parameter for pfnUpdateDisplayAll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r51761 r51836  
    46224622 * Internal vgaPortUpdateDisplayAll worker called under pThis->CritSect.
    46234623 */
    4624 static int updateDisplayAll(PVGASTATE pThis)
     4624static int updateDisplayAll(PVGASTATE pThis, bool fFailOnResize)
    46254625{
    46264626    PPDMDEVINS pDevIns = pThis->CTX_SUFF(pDevIns);
     
    46454645    pThis->graphic_mode = -1; /* force full update */
    46464646
    4647     return vga_update_display(pThis, true, true, true,
     4647    return vga_update_display(pThis, true, fFailOnResize, true,
    46484648            pThis->pDrv, &pThis->graphic_mode);
    46494649}
    46504650
    46514651
    4652 int vgaUpdateDisplayAll(PVGASTATE pThis)
     4652int vgaUpdateDisplayAll(PVGASTATE pThis, bool fFailOnResize)
    46534653{
    46544654#ifdef DEBUG_sunlover
     
    46594659    AssertRC(rc);
    46604660
    4661     rc = updateDisplayAll(pThis);
     4661    rc = updateDisplayAll(pThis, fFailOnResize);
    46624662
    46634663    PDMCritSectLeave(&pThis->CritSect);
     
    46714671 * @see     PDMIKEYBOARDPORT::pfnUpdateDisplayAll() for details.
    46724672 */
    4673 static DECLCALLBACK(int) vgaPortUpdateDisplayAll(PPDMIDISPLAYPORT pInterface)
     4673static DECLCALLBACK(int) vgaPortUpdateDisplayAll(PPDMIDISPLAYPORT pInterface, bool fFailOnResize)
    46744674{
    46754675    PVGASTATE pThis = IDISPLAYPORT_2_VGASTATE(pInterface);
     
    46784678    /* This is called both in VBVA mode and normal modes. */
    46794679
    4680     return vgaUpdateDisplayAll(pThis);
     4680    return vgaUpdateDisplayAll(pThis, fFailOnResize);
    46814681}
    46824682
Note: See TracChangeset for help on using the changeset viewer.

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