VirtualBox

Ignore:
Timestamp:
May 15, 2014 7:22:39 PM (11 years ago)
Author:
vboxsync
Message:

wddm: enable complex topology for CmdVbva

File:
1 edited

Legend:

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

    r51266 r51269  
    50535053    NTSTATUS Status = STATUS_SUCCESS;
    50545054
    5055     PVBOXMP_DEVEXT pContext = (PVBOXMP_DEVEXT)hAdapter;
     5055    PVBOXMP_DEVEXT pDevExt = (PVBOXMP_DEVEXT)hAdapter;
    50565056    const DXGK_VIDPN_INTERFACE* pVidPnInterface = NULL;
    5057     Status = pContext->u.primary.DxgkInterface.DxgkCbQueryVidPnInterface(pIsSupportedVidPnArg->hDesiredVidPn, DXGK_VIDPN_INTERFACE_VERSION_V1, &pVidPnInterface);
     5057    Status = pDevExt->u.primary.DxgkInterface.DxgkCbQueryVidPnInterface(pIsSupportedVidPnArg->hDesiredVidPn, DXGK_VIDPN_INTERFACE_VERSION_V1, &pVidPnInterface);
    50585058    if (!NT_SUCCESS(Status))
    50595059    {
     
    50635063
    50645064#ifdef VBOXWDDM_DEBUG_VIDPN
    5065     vboxVidPnDumpVidPn("\n>>>>IS SUPPORTED VidPN : >>>>", pContext, pIsSupportedVidPnArg->hDesiredVidPn, pVidPnInterface, "<<<<<<<<<<<<<<<<<<<<");
     5065    vboxVidPnDumpVidPn("\n>>>>IS SUPPORTED VidPN : >>>>", pDevExt, pIsSupportedVidPnArg->hDesiredVidPn, pVidPnInterface, "<<<<<<<<<<<<<<<<<<<<");
    50665066#endif
    50675067
     
    50765076
    50775077    BOOLEAN fSupported = FALSE;
    5078     Status = vboxVidPnCheckTopology(hVidPnTopology, pVidPnTopologyInterface, &fSupported);
     5078    Status = VBoxVidPnCheckTopology(pDevExt, hVidPnTopology, pVidPnTopologyInterface, &fSupported);
    50795079    if (!NT_SUCCESS(Status))
    50805080    {
    5081         WARN(("vboxVidPnCheckTopology failed Status()0x%x\n", Status));
     5081        WARN(("VBoxVidPnCheckTopology failed Status()0x%x\n", Status));
    50825082        return Status;
    50835083    }
     
    52655265
    52665266#ifdef DEBUG_misha
    5267     BOOLEAN fSupported = FALSE;
    5268     Status = vboxVidPnCheckTopology(hVidPnTopology, pVidPnTopologyInterface, &fSupported);
    5269     if (!NT_SUCCESS(Status))
    5270     {
    5271         WARN(("vboxVidPnCheckTopology failed Status()0x%x\n", Status));
    5272         return Status;
    5273     }
    5274 
    5275     Assert(fSupported);
     5267    {
     5268        BOOLEAN fSupported = FALSE;
     5269        Status = VBoxVidPnCheckTopology(pDevExt, hVidPnTopology, pVidPnTopologyInterface, &fSupported);
     5270        if (!NT_SUCCESS(Status))
     5271            WARN(("VBoxVidPnCheckTopology failed Status()0x%x\n", Status));
     5272
     5273        Assert(fSupported);
     5274    }
    52765275#endif
    52775276    VBOXVIDPNCOFUNCMODALITY CbContext = {0};
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