VirtualBox

Ignore:
Timestamp:
Mar 31, 2014 2:14:11 PM (11 years ago)
Author:
vboxsync
Message:

wddm/DevVga/crOpenGL: new command submission working for 3D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVbva.cpp

    r50921 r50928  
    11331133    uint32_t cbInitBuffer = cbBuffer;
    11341134    uint32_t i = 0;
    1135     VBOXCMDVBVAPAGEIDX *pPageNumbers = pCmd->aPageNumbers;
    1136 
    1137     cbBuffer -= RT_OFFSETOF(VBOXCMDVBVA_PAGING_TRANSFER, aPageNumbers);
     1135    VBOXCMDVBVAPAGEIDX *pPageNumbers = pCmd->Data.aPageNumbers;
     1136
     1137    cbBuffer -= RT_OFFSETOF(VBOXCMDVBVA_PAGING_TRANSFER, Data.aPageNumbers);
    11381138
    11391139    for (; i < cPages && cbBuffer >= sizeof (*pPageNumbers); ++i, cbBuffer -= sizeof (*pPageNumbers))
     
    11431143
    11441144    *pcPagesWritten = i;
    1145     Assert(cbInitBuffer - cbBuffer == RT_OFFSETOF(VBOXCMDVBVA_PAGING_TRANSFER, aPageNumbers[i]));
     1145    Assert(cbInitBuffer - cbBuffer == RT_OFFSETOF(VBOXCMDVBVA_PAGING_TRANSFER, Data.aPageNumbers[i]));
    11461146    return cbInitBuffer - cbBuffer;
    11471147}
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