VirtualBox

Changeset 76234 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 14, 2018 2:03:40 PM (6 years ago)
Author:
vboxsync
Message:

DevVGA: allow to take screenshots with VMSVGA device.

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

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

    r76181 r76234  
    15371537            /* Disable or enable dirty page tracking according to the current fTraces value. */
    15381538            vmsvgaSetTraces(pThis, !!pThis->svga.fTraces);
     1539
     1540            for (uint32_t iScreen = 0; iScreen < pThis->cMonitors; ++iScreen)
     1541            {
     1542                pThis->pDrv->pfnVBVAEnable(pThis->pDrv, iScreen, NULL, false);
     1543            }
    15391544        }
    15401545        else
     
    15471552            /* Enable dirty page tracking again when going into legacy mode. */
    15481553            vmsvgaSetTraces(pThis, true);
     1554
     1555            for (uint32_t iScreen = 0; iScreen < pThis->cMonitors; ++iScreen)
     1556            {
     1557                pThis->pDrv->pfnVBVADisable(pThis->pDrv, iScreen);
     1558            }
    15491559        }
    15501560#else  /* !IN_RING3 */
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r76204 r76234  
    53285328     */
    53295329    if (   (pThis->vbe_regs[VBE_DISPI_INDEX_ENABLE] & VBE_DISPI_ENABLED) == 0
    5330         && VBVAIsPaused(pThis))
     5330        && VBVAIsPaused(pThis)
     5331        && !pThis->svga.fEnabled)
    53315332    {
    53325333        PDMCritSectLeave(&pThis->CritSect);
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