Changeset 30970 in vbox
- Timestamp:
- Jul 21, 2010 3:26:31 PM (15 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/VBoxVideoVdma.cpp
r30953 r30970 565 565 } 566 566 } 567 else 568 { 569 AssertBreakpoint(); 570 } 567 571 } 568 572 } … … 573 577 Assert(cNew < UINT32_MAX/2); 574 578 575 NTSTATUS cmplStatus = vboxWddmDmaCmdNotifyCompletion(pDevExt, pContext, pCF->SubmissionFenceId);576 Assert(cmplStatus == STATUS_SUCCESS);577 579 return Status; 578 580 } -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r30953 r30970 2213 2213 PVBOXWDDM_DMA_PRESENT_CLRFILL pCF = (PVBOXWDDM_DMA_PRESENT_CLRFILL)pPrivateData; 2214 2214 PVBOXWDDM_CONTEXT pContext = (PVBOXWDDM_CONTEXT)pSubmitCommand->hContext; 2215 PVBOXVDMAPIPE_CMD_DMACMD_CLRFILL pCFCmd = (PVBOXVDMAPIPE_CMD_DMACMD_CLRFILL)vboxVdmaGgCmdCreate(&pDevExt->u.primary.Vdma.DmaGg, VBOXVDMAPIPE_CMD_TYPE_ RECTSINFO, RT_OFFSETOF(VBOXVDMAPIPE_CMD_DMACMD_CLRFILL, Rects.aRects[pCF->Rects.cRects]));2215 PVBOXVDMAPIPE_CMD_DMACMD_CLRFILL pCFCmd = (PVBOXVDMAPIPE_CMD_DMACMD_CLRFILL)vboxVdmaGgCmdCreate(&pDevExt->u.primary.Vdma.DmaGg, VBOXVDMAPIPE_CMD_TYPE_DMACMD_CLRFILL, RT_OFFSETOF(VBOXVDMAPIPE_CMD_DMACMD_CLRFILL, Rects.aRects[pCF->Rects.cRects])); 2216 2216 NTSTATUS submStatus = STATUS_UNSUCCESSFUL; 2217 2217 Assert(pCFCmd); … … 2253 2253 vboxVdmaGgCmdDestroy(&pCFCmd->Hdr); 2254 2254 } 2255 } 2256 2257 if (submStatus != STATUS_SUCCESS) 2258 { 2259 Status = vboxWddmDmaCmdNotifyCompletion(pDevExt, pPrivateData->pContext, pSubmitCommand->SubmissionFenceId); 2260 } 2261 /* else - command will be completed in the clrfill handler */ 2255 2256 } 2257 2258 Status = vboxWddmDmaCmdNotifyCompletion(pDevExt, pPrivateData->pContext, pSubmitCommand->SubmissionFenceId); 2259 Assert(Status == STATUS_SUCCESS); 2262 2260 2263 2261 break;
Note:
See TracChangeset
for help on using the changeset viewer.