VirtualBox

Ignore:
Timestamp:
May 21, 2014 5:26:31 PM (11 years ago)
Author:
vboxsync
Message:

wddm: disable complex topologies for now

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/VBoxMPVidPn.cpp

    r51269 r51328  
    14061406    const DXGK_VIDPNTARGETMODESET_INTERFACE *pNewVidPnTargetModeSetInterface;
    14071407
    1408     Assert(pDevExt->fCmdVbvaEnabled || VidPnSourceId == VidPnTargetId);
     1408    Assert(pDevExt->fComplexTopologiesEnabled || VidPnSourceId == VidPnTargetId);
    14091409
    14101410    D3DKMDT_HVIDPNSOURCEMODESET hCurVidPnSourceModeSet;
     
    14461446        {
    14471447            Assert(hNewVidPnTargetModeSet);
    1448             Assert(pDevExt->fCmdVbvaEnabled || VidPnSourceId == VidPnTargetId);
     1448            Assert(pDevExt->fComplexTopologiesEnabled || VidPnSourceId == VidPnTargetId);
    14491449//            if (VidPnSourceId == VidPnTargetId && pCbContext->apPathInfos[VidPnTargetId].enmState == VBOXVIDPNPATHITEM_STATE_PRESENT)
    14501450            {
     
    15371537    const DXGK_VIDPNSOURCEMODESET_INTERFACE *pNewVidPnSourceModeSetInterface;
    15381538
    1539     Assert(pDevExt->fCmdVbvaEnabled || VidPnSourceId == VidPnTargetId);
     1539    Assert(pDevExt->fComplexTopologiesEnabled || VidPnSourceId == VidPnTargetId);
    15401540
    15411541    D3DKMDT_HVIDPNTARGETMODESET hCurVidPnTargetModeSet;
     
    15771577        {
    15781578            Assert(hNewVidPnSourceModeSet);
    1579             Assert(pDevExt->fCmdVbvaEnabled || VidPnSourceId == VidPnTargetId);
     1579            Assert(pDevExt->fComplexTopologiesEnabled || VidPnSourceId == VidPnTargetId);
    15801580//            if (VidPnSourceId == VidPnTargetId && pCbContext->apPathInfos[VidPnSourceId].enmState == VBOXVIDPNPATHITEM_STATE_PRESENT)
    15811581            {
     
    17431743static BOOLEAN vboxVidPnIsPathSupported(PVBOXMP_DEVEXT pDevExt, const D3DKMDT_VIDPN_PRESENT_PATH *pNewVidPnPresentPathInfo)
    17441744{
    1745     if (!pDevExt->fCmdVbvaEnabled && pNewVidPnPresentPathInfo->VidPnSourceId != pNewVidPnPresentPathInfo->VidPnTargetId)
     1745    if (!pDevExt->fComplexTopologiesEnabled && pNewVidPnPresentPathInfo->VidPnSourceId != pNewVidPnPresentPathInfo->VidPnTargetId)
    17461746    {
    17471747        LOG(("unsupported source(%d)->target(%d) pair", pNewVidPnPresentPathInfo->VidPnSourceId, pNewVidPnPresentPathInfo->VidPnTargetId));
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r51325 r51328  
    10941094                    pDevExt->fTexPresentEnabled = !!(VBoxMpCrGetHostCaps() & CR_VBOX_CAP_TEX_PRESENT);
    10951095                    pDevExt->fCmdVbvaEnabled = !!(VBoxMpCrGetHostCaps() & CR_VBOX_CAP_CMDVBVA);
     1096# if 0
     1097                    pDevExt->fComplexTopologiesEnabled = pDevExt->fCmdVbvaEnabled;
     1098# else
     1099                    pDevExt->fComplexTopologiesEnabled = FALSE;
     1100# endif
    10961101                }
    10971102                else
     
    10991104                    pDevExt->fTexPresentEnabled = FALSE;
    11001105                    pDevExt->fCmdVbvaEnabled = FALSE;
     1106                    pDevExt->fComplexTopologiesEnabled = FALSE;
    11011107                }
    11021108#endif
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