VirtualBox

Changeset 54162 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Feb 11, 2015 9:08:20 PM (10 years ago)
Author:
vboxsync
Message:

Devices/Graphics and Main: avoid unnecessary graphics notifications to the guest.

File:
1 edited

Legend:

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

    r53965 r54162  
    26362636    pCtx->aModeHints[iDisplay].dy       = dy;
    26372637    pCtx->aModeHints[iDisplay].fEnabled = fEnabled;
    2638     if (fNotifyGuest && pThis->fGuestCaps & VBVACAPS_IRQ)
     2638    if (fNotifyGuest && pThis->fGuestCaps & VBVACAPS_IRQ && pThis->fGuestCaps & VBVACAPS_VIDEO_MODE_HINTS)
    26392639        VBVARaiseIrq(pThis, HGSMIHOSTFLAGS_HOTPLUG);
    26402640    return VINF_SUCCESS;
     
    26702670    pThis->fHostCursorCapabilities |= fCapabilitiesAdded;
    26712671    pThis->fHostCursorCapabilities &= ~fCapabilitiesRemoved;
    2672     if (pThis->fGuestCaps & VBVACAPS_IRQ)
     2672    if (pThis->fGuestCaps & VBVACAPS_IRQ && pThis->fGuestCaps & VBVACAPS_DISABLE_CURSOR_INTEGRATION)
    26732673        VBVARaiseIrqNoWait(pThis, HGSMIHOSTFLAGS_CURSOR_CAPABILITIES);
    26742674    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