VirtualBox

Changeset 82411 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 5, 2019 12:11:24 PM (5 years ago)
Author:
vboxsync
Message:

WDDM: no need for D3DDDICB_ESCAPE::Flags.HardwareAccess when creating surfaces because the miniport provides the required synchronization

File:
1 edited

Legend:

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

    r76553 r82411  
    218218    memcpy(&pu8Req[sizeof(GASURFCREATE)], paSizes, cSizes * sizeof(GASURFSIZE));
    219219
    220     ddiEscape.hDevice               = 0; // pThis->mWddmCallbacks.hDevice;
    221     ddiEscape.Flags.Value           = 0;
    222     ddiEscape.Flags.HardwareAccess  = 1;
     220    // ddiEscape.hDevice               = 0; // pThis->mWddmCallbacks.hDevice;
     221    // ddiEscape.Flags.Value           = 0;
    223222    ddiEscape.pPrivateDriverData    = pData;
    224223    ddiEscape.PrivateDriverDataSize = cbAlloc;
    225     ddiEscape.hContext              = 0;
     224    // ddiEscape.hContext              = 0;
    226225
    227226    hr = pThis->mWddmCallbacks.DeviceCallbacks.pfnEscapeCb(pThis->mWddmCallbacks.hAdapter, &ddiEscape);
     
    252251    data.u32Sid                = u32Sid;
    253252
    254     ddiEscape.hDevice               = 0; // pThis->mWddmCallbacks.hDevice;
    255     ddiEscape.Flags.Value           = 0;
    256     ddiEscape.Flags.HardwareAccess  = 1;
     253    // ddiEscape.hDevice               = 0; // pThis->mWddmCallbacks.hDevice;
     254    // ddiEscape.Flags.Value           = 0;
    257255    ddiEscape.pPrivateDriverData    = &data;
    258256    ddiEscape.PrivateDriverDataSize = sizeof(data);
    259     ddiEscape.hContext              = 0;
     257    // ddiEscape.hContext              = 0;
    260258
    261259    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