VirtualBox

Ignore:
Timestamp:
Apr 15, 2010 5:14:16 PM (15 years ago)
Author:
vboxsync
Message:

dev/VGA: avoid extra resizes when HGSMI & VBVA is used (for now enabled only when Wddm driver is isnatalled in the guest)

File:
1 edited

Legend:

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

    r27429 r28379  
    8787    PHGSMIINSTANCE pHgsmi;
    8888    PVGASTATE pVGAState;
     89    bool bEnabled;
    8990    VBOXVDMAPIPE_CMD_POOL CmdPool;
    9091} VBOXVDMAHOST, *PVBOXVDMAHOST;
     
    780781    {
    781782        case VBOXVDMA_CTL_TYPE_ENABLE:
     783            pVdma->bEnabled = true;
    782784            pCmd->i32Result = VINF_SUCCESS;
    783785            break;
    784786        case VBOXVDMA_CTL_TYPE_DISABLE:
     787            pVdma->bEnabled = false;
    785788            pCmd->i32Result = VINF_SUCCESS;
    786789            break;
     
    853856}
    854857
     858bool vboxVDMAIsEnabled(PVBOXVDMAHOST pVdma)
     859{
     860    return pVdma->bEnabled;
     861}
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