VirtualBox

Changeset 90319 in vbox


Ignore:
Timestamp:
Jul 23, 2021 5:12:19 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145880
Message:

VMSVGA: prevent screen artifacts after restoring VM from saved state, bugref:10071, ticketref:20067.

File:
1 edited

Legend:

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

    r90058 r90319  
    56175617    }
    56185618
     5619    /* VMSVGA is working via VBVA interface, therefore it needs to be
     5620     * enabled on saved state restore. See @bugref{10071#c7}. */
     5621    if (pThis->svga.fEnabled)
     5622    {
     5623        for (uint32_t idScreen = 0; idScreen < pThis->cMonitors; ++idScreen)
     5624            pThisCC->pDrv->pfnVBVAEnable(pThisCC->pDrv, idScreen, NULL /*pHostFlags*/);
     5625    }
     5626
    56195627    /* Let the FIFO thread deal with changing the mode. */
    56205628    ASMAtomicOrU32(&pThis->svga.u32ActionFlags, VMSVGA_ACTION_CHANGEMODE);
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