VirtualBox

Ignore:
Timestamp:
Oct 15, 2010 10:34:58 AM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: chromium hgsmi, host part + guest part debugging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r33116 r33146  
    15921592                            Assert(Status == STATUS_SUCCESS);
    15931593                            break;
     1594                        case VBOXUHGSMI_SYNCHOBJECT_TYPE_NONE:
     1595                            pAllocation->pSynchEvent = NULL;
     1596                            Status == STATUS_SUCCESS;
     1597                            break;
    15941598                        default:
    15951599                            drprintf((__FUNCTION__ ": ERROR: invalid synch info type(%d)\n", pAllocInfo->enmSynchType));
     
    21592163    PVBOXVDMACBUF_DR pDr = (PVBOXVDMACBUF_DR)pvContext;
    21602164    PVBOXVDMACMD pHdr = VBOXVDMACBUF_DR_TAIL(pDr, VBOXVDMACMD);
    2161     UINT cBufs = pHdr->u32CmdSpecific;
    21622165    VBOXVDMACMD_CHROMIUM_CMD *pBody = VBOXVDMACMD_BODY(pHdr, VBOXVDMACMD_CHROMIUM_CMD);
     2166    UINT cBufs = pBody->cBuffers;
    21632167    for (UINT i = 0; i < cBufs; ++i)
    21642168    {
     
    21792183                        FALSE);
    21802184                    break;
     2185                case VBOXUHGSMI_SYNCHOBJECT_TYPE_NONE:
     2186                    break;
    21812187                default:
    21822188                    Assert(0);
     
    21872193    vboxVdmaCBufDrFree(&pDevExt->u.primary.Vdma, pDr);
    21882194}
    2189 
    21902195#endif
     2196
    21912197NTSTATUS
    21922198APIENTRY
     
    23792385            PVBOXVDMACMD pHdr = VBOXVDMACBUF_DR_TAIL(pDr, VBOXVDMACMD);
    23802386            pHdr->enmType = VBOXVDMACMD_TYPE_CHROMIUM_CMD;
    2381             pHdr->u32CmdSpecific = pChromiumCmd->Base.u32CmdReserved;
     2387            pHdr->u32CmdSpecific = 0;
    23822388            VBOXVDMACMD_CHROMIUM_CMD *pBody = VBOXVDMACMD_BODY(pHdr, VBOXVDMACMD_CHROMIUM_CMD);
     2389            pBody->cBuffers = pChromiumCmd->Base.u32CmdReserved;
    23832390            for (UINT i = 0; i < pChromiumCmd->Base.u32CmdReserved; ++i)
    23842391            {
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