VirtualBox

Ignore:
Timestamp:
Jul 16, 2012 8:17:25 PM (12 years ago)
Author:
vboxsync
Message:

wddm/d-o: multimon autoresize fixes

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp

    r42128 r42170  
    26732673        PhAddr.QuadPart = ROUND_TO_PAGES(PhAddr.QuadPart);
    26742674        pSource = &pDevExt->aSources[i];
     2675        if (pSource->AllocData.Addr.offVram != PhAddr.QuadPart
     2676                || pSource->AllocData.Addr.SegmentId != 1)
     2677            pSource->bGhSynced = FALSE;
    26752678        pSource->AllocData.Addr.SegmentId = 1;
    26762679        pSource->AllocData.Addr.offVram = PhAddr.QuadPart;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r42159 r42170  
    48844884        }
    48854885
     4886#ifdef VBOX_WDDM_WIN8
     4887        if (g_VBoxDisplayOnly)
     4888        {
     4889            for (int i = 0; /* <- never try to hide a primary monitor */
     4890                    i < VBoxCommonFromDeviceExt(pDevExt)->cDisplays; ++i)
     4891            {
     4892                PVBOXWDDM_SOURCE pSource = &pDevExt->aSources[i];
     4893                if (pSource->bVisible && !pSource->bGhSynced)
     4894                {
     4895                    vboxWddmGhDisplayCheckSetInfoFromSource(pDevExt, pSource);
     4896                }
     4897            }
     4898        }
     4899#endif
    48864900        LOGF(("LEAVE, SUCCESS status(0x%x), context(0x%x)", Status, hAdapter));
    48874901
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