Changeset 30926 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
- Timestamp:
- Jul 20, 2010 12:41:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.