VirtualBox

Changeset 30970 in vbox


Ignore:
Timestamp:
Jul 21, 2010 3:26:31 PM (15 years ago)
Author:
vboxsync
Message:

wddm/2d: bugfix, video working (debug still needed)

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  
    565565                    }
    566566                }
     567                else
     568                {
     569                    AssertBreakpoint();
     570                }
    567571            }
    568572        }
     
    573577    Assert(cNew < UINT32_MAX/2);
    574578
    575     NTSTATUS cmplStatus = vboxWddmDmaCmdNotifyCompletion(pDevExt, pContext, pCF->SubmissionFenceId);
    576     Assert(cmplStatus == STATUS_SUCCESS);
    577579    return Status;
    578580}
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r30953 r30970  
    22132213            PVBOXWDDM_DMA_PRESENT_CLRFILL pCF = (PVBOXWDDM_DMA_PRESENT_CLRFILL)pPrivateData;
    22142214            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]));
    22162216            NTSTATUS submStatus = STATUS_UNSUCCESSFUL;
    22172217            Assert(pCFCmd);
     
    22532253                    vboxVdmaGgCmdDestroy(&pCFCmd->Hdr);
    22542254                }
    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);
    22622260
    22632261            break;
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