VirtualBox

Changeset 90323 in vbox for trunk/src


Ignore:
Timestamp:
Jul 23, 2021 6:27:52 PM (4 years ago)
Author:
vboxsync
Message:

DevVGA-SVGA: Moved the pfnVBVAEnable calls up before pfnVBVAMousePointerShape and pfnVBVAReportCursorPosition. bugref:10071 ticketref:20067

File:
1 edited

Legend:

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

    r90319 r90323  
    55875587    PVMSVGAR3STATE  pSVGAState = pThisCC->svga.pSvgaR3State;
    55885588
     5589    /* VMSVGA is working via VBVA interface, therefore it needs to be
     5590     * enabled on saved state restore. See @bugref{10071#c7}. */
     5591    if (pThis->svga.fEnabled)
     5592    {
     5593        for (uint32_t idScreen = 0; idScreen < pThis->cMonitors; ++idScreen)
     5594            pThisCC->pDrv->pfnVBVAEnable(pThisCC->pDrv, idScreen, NULL /*pHostFlags*/);
     5595    }
     5596
    55895597    /* Set the active cursor. */
    55905598    if (pSVGAState->Cursor.fActive)
     
    56155623    {
    56165624        vgaR3UnregisterVRAMHandler(pDevIns, pThis);
    5617     }
    5618 
    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*/);
    56255625    }
    56265626
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