Changeset 30926 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport
- Timestamp:
- Jul 20, 2010 12:41:27 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVidPn.cpp
r30169 r30926 1626 1626 CONST D3DKMDT_VIDPN_SOURCE_MODE* pPinnedVidPnSourceModeInfo; 1627 1627 Status = pCurVidPnSourceModeSetInterface->pfnAcquirePinnedModeInfo(hCurVidPnSourceModeSet, &pPinnedVidPnSourceModeInfo); 1628 Assert(Status == STATUS_SUCCESS );1628 Assert(Status == STATUS_SUCCESS || Status == STATUS_GRAPHICS_MODE_NOT_PINNED); 1629 1629 if (Status == STATUS_SUCCESS) 1630 1630 { … … 1665 1665 } 1666 1666 else if (Status == STATUS_GRAPHICS_MODE_NOT_PINNED) 1667 drprintf((__FUNCTION__": no pPinnedVidPnSourceModeInfo available for source id (%d)\n", srcId)); 1667 { 1668 Status = vboxVidPnCommitSourceMode(pDevExt, srcId, pPinnedVidPnSourceModeInfo, pAllocation); 1669 Assert(Status == STATUS_SUCCESS); 1670 } 1668 1671 else 1669 1672 drprintf((__FUNCTION__": pfnAcquirePinnedModeInfo failed Status(0x%x)\n", Status)); -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r30865 r30926 1132 1132 1133 1133 /* @todo: */ 1134 vboxVDbgBreakF();1134 // vboxVDbgBreakF(); 1135 1135 1136 1136 dfprintf(("<== "__FUNCTION__ ", context(0x%x)\n", MiniportDeviceContext)); … … 3212 3212 PVBOXWDDM_ALLOCATION pAllocation = pSource->pPrimaryAllocation; 3213 3213 3214 Assert(pAllocation->bVisible != pSetVidPnSourceVisibility->Visible); 3215 if (pAllocation->bVisible != pSetVidPnSourceVisibility->Visible) 3216 { 3217 pAllocation->bVisible = pSetVidPnSourceVisibility->Visible; 3214 if (pAllocation) 3215 { 3216 Assert(pAllocation->bVisible != pSetVidPnSourceVisibility->Visible); 3217 if (pAllocation->bVisible != pSetVidPnSourceVisibility->Visible) 3218 { 3219 pAllocation->bVisible = pSetVidPnSourceVisibility->Visible; 3218 3220 #ifndef VBOXWDDM_RENDER_FROM_SHADOW 3219 if (pAllocation->bVisible)3220 {3221 Status = vboxWddmGhDisplaySetInfo(pDevExt, pSource);3222 Assert(Status == STATUS_SUCCESS);3223 if (Status != STATUS_SUCCESS)3224 drprintf((__FUNCTION__": vboxWddmGhDisplaySetInfo failed, Status (0x%x)\n", Status));3225 }3226 else3227 {3228 vboxVdmaFlush (pDevExt, &pDevExt->u.primary.Vdma);3229 }3221 if (pAllocation->bVisible) 3222 { 3223 Status = vboxWddmGhDisplaySetInfo(pDevExt, pSource); 3224 Assert(Status == STATUS_SUCCESS); 3225 if (Status != STATUS_SUCCESS) 3226 drprintf((__FUNCTION__": vboxWddmGhDisplaySetInfo failed, Status (0x%x)\n", Status)); 3227 } 3228 else 3229 { 3230 vboxVdmaFlush (pDevExt, &pDevExt->u.primary.Vdma); 3231 } 3230 3232 #endif 3233 } 3234 } 3235 else 3236 { 3237 Assert(!pSetVidPnSourceVisibility->Visible); 3231 3238 } 3232 3239 }
Note:
See TracChangeset
for help on using the changeset viewer.