VirtualBox

Changeset 82429 in vbox for trunk/src


Ignore:
Timestamp:
Dec 5, 2019 4:42:52 PM (5 years ago)
Author:
vboxsync
Message:

WDDM: init D3DDDICB_ESCAPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/gallium/GaDrvEnvWddm.cpp

    r82424 r82429  
    218218    memcpy(&pu8Req[sizeof(GASURFCREATE)], paSizes, cSizes * sizeof(GASURFSIZE));
    219219
    220     // ddiEscape.hDevice               = 0; // pThis->mWddmCallbacks.hDevice;
    221     // ddiEscape.Flags.Value           = 0;
     220    ddiEscape.hDevice               = 0; // pThis->mWddmCallbacks.hDevice;
     221    ddiEscape.Flags.Value           = 0;
    222222    ddiEscape.pPrivateDriverData    = pData;
    223223    ddiEscape.PrivateDriverDataSize = cbAlloc;
    224     // ddiEscape.hContext              = 0;
     224    ddiEscape.hContext              = 0;
    225225
    226226    hr = pThis->mWddmCallbacks.DeviceCallbacks.pfnEscapeCb(pThis->mWddmCallbacks.hAdapter, &ddiEscape);
     
    251251    data.u32Sid                = u32Sid;
    252252
    253     RT_ZERO(ddiEscape);
    254     // ddiEscape.hDevice               = 0; // pThis->mWddmCallbacks.hDevice;
    255     // ddiEscape.Flags.Value           = 0;
     253    ddiEscape.hDevice               = 0; // pThis->mWddmCallbacks.hDevice;
     254    ddiEscape.Flags.Value           = 0;
    256255    ddiEscape.pPrivateDriverData    = &data;
    257256    ddiEscape.PrivateDriverDataSize = sizeof(data);
    258     // ddiEscape.hContext              = 0;
     257    ddiEscape.hContext              = 0;
    259258
    260259    hr = pThis->mWddmCallbacks.DeviceCallbacks.pfnEscapeCb(pThis->mWddmCallbacks.hAdapter, &ddiEscape);
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